mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
- A work around for creating threads with THR_NEW_LWP.
LWP is not directly applicable to FreeBSD threading model. PR: ports/105794 Submitted by: Andriy Gapon <avg at icyb.net.ua>
This commit is contained in:
parent
a862292ee0
commit
1c2a46f0a4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=178721
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= ace
|
||||
PORTVERSION= 5.5.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ftp://deuce.doc.wustl.edu/pub/previous_versions/ \
|
||||
http://deuce.doc.wustl.edu/old_distribution/ \
|
||||
|
11
devel/ace/files/patch-ace-os_include-os_pthread.h
Normal file
11
devel/ace/files/patch-ace-os_include-os_pthread.h
Normal file
@ -0,0 +1,11 @@
|
||||
--- ace/os_include/os_pthread.h.orig Sun Dec 3 21:47:36 2006
|
||||
+++ ace/os_include/os_pthread.h Sun Dec 3 21:51:19 2006
|
||||
@@ -345,7 +345,7 @@
|
||||
# undef THR_DAEMON
|
||||
|
||||
# define THR_BOUND 0x00000001
|
||||
-# if defined (CHORUS)
|
||||
+# if defined (CHORUS) || (__FreeBSD__)
|
||||
# define THR_NEW_LWP 0x00000000
|
||||
# else
|
||||
# define THR_NEW_LWP 0x00000002
|
Loading…
Reference in New Issue
Block a user