1
0
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:
Sergey Matveychuk 2006-12-03 19:42:31 +00:00
parent a862292ee0
commit 1c2a46f0a4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=178721
2 changed files with 12 additions and 0 deletions

View File

@ -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/ \

View 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