pthread_mutex_unlock and pthread_mutex_trylock
Kaya, Sinan
sinan.kaya@siemens.com
Tue Mar 27 07:41:00 GMT 2007
hello All,
I think it would be wise to put some control in pthread_mutex_unlock and pthread_mutex_trylock functions as in pthread_mutex_lock.
something like this can help it.
if (*mutex == NULL)
{
return EINVAL;
}
ragards,
sinan.
We shall not cease from exploration, and the end of all our exploring will be to arrive where we started and know the place for the first time.
T. S. Eliot
Ömer Sinan KAYA (M.Sc.)
SIEMENS A.S.- PSE AS TR
Embedded Software Technologies
Tel : +90 216 459 37 20
Fax : +90 216 459 20 42
E-mail : sinan.kaya@siemens.com
Address : Yakacik Caddesi No:111 34870 Kartal, Istanbul-TURKEY
More information about the Pthreads-win32
mailing list