[Asterisk-Dev] PTHREAD_MUTEX_RECURSIVE

steve at daviesfam.org steve at daviesfam.org
Fri Jun 18 23:17:59 MST 2004


On Fri, 18 Jun 2004, Dr. Rich Murphey wrote:

> PTHREAD_MUTEX_RECURSIVE is generally defined by the OS or system.  In
> general it would be defined in pthread.h.
> 
> You have a native posix library I believe, so there must be an appropriate
> header to define it, if it's not pthread.h.
> 
> Cheers,
> Rich

IIRC, you need to #define _GNU_SOURCE before the includes.

Check pthread.h and look at the #ifdefs.

Steve



More information about the asterisk-dev mailing list