This is the mail archive of the pthreads-win32@sourceware.org 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]

pthread_mutex_unlock and pthread_mutex_trylock


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


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