This is the mail archive of the
pthreads-win32@sources.redhat.com
mailing list for the pthreas-win32 project.
No static initialization for recursive mutexes?
- From: "Enzo Michelangeli" <em at em dot no-ip dot com>
- To: <pthreads-win32 at sources dot redhat dot com>
- Date: Thu, 10 Jun 2004 21:11:30 +0800
- Subject: 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