recursive mutex

2003-01-23 Thread Charles Prosser
Hello, On Wed, 22 Jan 2003, Elliot Lee wrote: >> I think you want to define _GNU_SOURCE (see the comments in >> /usr/include/features.h). That worked! Thanks for setting me straight. Charles ___ Redhat-devel-list mailing list [EMAIL PROTECTED]

Re: recursive mutex

2003-01-22 Thread Elliot Lee
On Wed, 22 Jan 2003, Charles Prosser wrote: > Sure enough I see in pthread.h that these are both #ifdef __USE_UNIX98. I think you want to define _GNU_SOURCE (see the comments in /usr/include/features.h). -- Elliot ___ Redhat-devel-list mailing list

recursive mutex

2003-01-22 Thread Charles Prosser
Hello, On a RH 7.3 system I'm trying to implement a recursive mutex where a thread which has acquired a mutex can again acquire the same mutex without deadlock. >From reading the man pages it appears I can do something like this to create the mutex: pthread_mutex_t