This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

pthreads on Cygwin


Hi,

According to the online documentation, basic pthread support is 
available on Cygwin: 
http://sources.redhat.com/cygwin/cygwin-api/std-posix.html#AEN85

I've found and #included <pthread.h> in /usr/include/pthread.h, however,
<sys/features.h>, found in /usr/include/sys/features.h, only turns on 
_POSIX_THREADS if
a macro named __rtems__ is defined. Similarly for the thread support in 
<sys/types.h>.

Is this a bug in the headers or is thread support really not there for 
vanilla Cygwin? I'm using version 1.1.7 on Windows 95. (Actually, it's a 
snapshot from Jan 10 -- I as trying to avoid the "cygwin hangs after 
'sed' in 'libtool' during builds problem). I was told by an insider that 
<pthread.h> and <sys/features.h> were only recently added.

Dave


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]