mutexes

uGAH man snake@drinkordie.com
Fri Jul 21 12:19:00 GMT 2000


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 ?



More information about the Pthreads-win32 mailing list