This is the mail archive of the pthreads-win32@sources.redhat.com mailing list for the pthreas-win32 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

No static initialization for recursive mutexes?


Hi,

Recursive mutexes are supported by Pthreads-Win32, but
PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP (or equivalent) is not defined in
pthread.h, unlike the default PTHREAD_MUTEX_INITIALIZER . Is there any way
of initializing recursive mutexes statically, rather than using
pthread_mutex_init()?

Enzo



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]