This is the mail archive of the
pthreads-win32@sources.redhat.com
mailing list for the pthreas-win32 project.
mutexes
- To: "pthread" <pthreads-win32 at sourceware dot cygnus dot com>
- Subject: mutexes
- From: "uGAH man" <snake at drinkordie dot com>
- Date: Fri, 21 Jul 2000 16:17:58 -0300
i was testing this pthread for win32 in my prog.
when i checked if it was blocking mutex_lock calls, i was surprised when it
didnt lock
pthread_mutex_t DBlock;
pthread_mutex_init( &DBlock, NULL );
pthread_mutex_lock( &DBlock );
pthread_mutex_lock( &DBlock );
^^ these two calls didnt block
im wondering, why ?
could anyone help ?