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
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
-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
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 é
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
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:
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
-
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:
8 matches
Mail list logo