|
This is all the reference to PTHREAD_MUTEX_RECURSIVE on
lock.h #ifdef __APPLE__ /* Provide the Linux initializers for MacOS X */ #define PTHREAD_MUTEX_RECURSIVE_NP
PTHREAD_MUTEX_RECURSIVE #define PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP {
0x4d555458, \ {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0x20 } } #endif #ifdef BSD #ifdef __GNUC__ #define AST_MUTEX_INIT_W_CONSTRUCTORS #else #define AST_MUTEX_INIT_ON_FIRST_USE #endif #endif /* BSD */ /* From now on, Asterisk REQUIRES Recursive (not error
checking) mutexes and will not run without them. */ #ifdef PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP #define PTHREAD_MUTEX_INIT_VALUE
PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP #define AST_MUTEX_KIND
PTHREAD_MUTEX_RECURSIVE_NP #else #define PTHREAD_MUTEX_INIT_VALUE
PTHREAD_MUTEX_INITIALIZER #define AST_MUTEX_KIND
PTHREAD_MUTEX_RECURSIVE #endif /* PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP */ #ifdef DEBUG_THREADS |
_______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com --
Asterisk-Users mailing list [email protected] http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
