On Thu, 17 Feb 2000, Thimble Smith wrote:
Hi. I recently updated from -stable to -current. I notice now that
pthread.h relies on #defines that are in unistd.h; so in order to use
pthread_attr_setscope you have to include unistd.h before pthread.h.
Is this standard behaviour? I'm working
Hi. I recently updated from -stable to -current. I notice now that
pthread.h relies on #defines that are in unistd.h; so in order to use
pthread_attr_setscope you have to include unistd.h before pthread.h.
Is this standard behaviour? I'm working with MySQL, and unistd.h is
included after
pthread.h.
Is this standard behaviour? I'm working with MySQL, and unistd.h is
included after pthread.h; should I have that code changed, or should
FreeBSD somehow compensate for this?
I've read the POSIX spec, and it looks like pthread.h should include
unistd.h so that the #defines you
pthread_attr_setscope you have to include unistd.h before pthread.h.
Is this standard behaviour? I'm working with MySQL, and unistd.h is
included after pthread.h; should I have that code changed, or should
FreeBSD somehow compensate for this?
I've read the POSIX spec, and it looks like pthread.h
On Thu, 17 Feb 2000, Daniel Eischen wrote:
How about we remove the #if defined()s for:
_POSIX_THREAD_PROCESS_SHARED
_POSIX_THREAD_PRIO_PROTECT
_POSIX_THREAD_PRIO_INHERIT
_POSIX_THREAD_PRIORITY_SCHEDULING
from our pthread.h?
Except for the first, which is left undefined in
On Thu, Feb 17, 2000 at 11:29:57AM -0500, Daniel Eischen wrote:
How about we remove the #if defined()s for:
_POSIX_THREAD_PROCESS_SHARED
_POSIX_THREAD_PRIO_PROTECT
_POSIX_THREAD_PRIO_INHERIT
_POSIX_THREAD_PRIORITY_SCHEDULING
from our pthread.h?
Yes, it looks like use of the