[Asterisk-Dev] PTHREAD_MUTEX_RECURSIVE
Dr. Rich Murphey
Rich at WhiteOakLabs.com
Sat Jun 19 02:09:38 MST 2004
Perhaps that's a difference between redhat and others? _GNU_SOURCE doesn't
appear in pthread.h on redhat 9.
Cheers,
Rich
> -----Original Message-----
> From: asterisk-dev-admin at lists.digium.com [mailto:asterisk-dev-
> admin at lists.digium.com] On Behalf Of steve at daviesfam.org
> Sent: Saturday, June 19, 2004 1:18 AM
> To: asterisk-dev at lists.digium.com
> Subject: RE: [Asterisk-Dev] PTHREAD_MUTEX_RECURSIVE
>
>
>
> 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
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
More information about the asterisk-dev
mailing list