Re: Thread support in cygwin!

2006-04-13 Thread Joost Kraaijeveld
On Thu, 2006-04-13 at 14:10 +0200, Corinna Vinschen wrote: > You can see that /usr/include/sys/features.h is included, so the > _POSIX_THREAD* defines are available. Not on my Linux (Debian Etch AMD64). The only place where I can find a define for _POSIX_THREAD is in unistd.h, and not in feature.h

Re: Thread support in cygwin!

2006-04-13 Thread Samuel Thibault
Do Nguyen Luong, le Thu 13 Apr 2006 05:57:17 -0700, a écrit : > But I think _POSIX_THREADS definitely is defined. Corinna said the problem > was that _SC_THREAD* values were currently not supported by sysconf(). So > cygwin supports threads and I can ignore sysconf()?? For now, yes. On the long

Re: Thread support in cygwin!

2006-04-13 Thread Do Nguyen Luong
-support-in-cygwin%21-t1442219.html#a3899853 Sent from the Cygwin Users forum at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http

Re: Thread support in cygwin!

2006-04-13 Thread Corinna Vinschen
On Apr 13 11:36, Joost Kraaijeveld wrote: > On Thu, 2006-04-13 at 11:00 +0200, Samuel Thibault wrote: > > Joost Kraaijeveld, le Thu 13 Apr 2006 10:45:39 +0200, a écrit : > > > On Thu, 2006-04-13 at 09:42 +0200, Samuel Thibault wrote: > > > > Joost Kraaijeveld, le Thu 13 Apr 2006 08:10:15 +0200, a é

Re: Thread support in cygwin!

2006-04-13 Thread Joost Kraaijeveld
On Thu, 2006-04-13 at 11:00 +0200, Samuel Thibault wrote: > Joost Kraaijeveld, le Thu 13 Apr 2006 10:45:39 +0200, a écrit : > > On Thu, 2006-04-13 at 09:42 +0200, Samuel Thibault wrote: > > > Joost Kraaijeveld, le Thu 13 Apr 2006 08:10:15 +0200, a écrit : > > > > No, it means that _POSIX_THREADS i

Re: Thread support in cygwin!

2006-04-13 Thread Samuel Thibault
Joost Kraaijeveld, le Thu 13 Apr 2006 08:10:15 +0200, a écrit : > No, it means that _POSIX_THREADS is not defined. Cygwin should define it. Regards, Samuel -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation:

Re: Thread support in cygwin!

2006-04-12 Thread Joost Kraaijeveld
On Wed, 2006-04-12 at 21:53 -0700, Do Nguyen Luong wrote: > #include > #include > #include > int main() > { > #ifdef _POSIX_THREADS > printf("sysconf(_SC_THREADS): %d\n", sysconf(_SC_THREADS)); > #else > printf("_POSIX_THREADS not defined\n"); > #endif > return

Thread support in cygwin!

2006-04-12 Thread Do Nguyen Luong
- View this message in context: http://www.nabble.com/Thread-support-in-cygwin%21-t1442219.html#a3894619 Sent from the Cygwin Users forum at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: