public inbox for
 help / color / mirror / Atom feed
* pthread_mutex_unlock and pthread_mutex_trylock
@ 2007-03-27  7:41 Kaya, Sinan
  0 siblings, 0 replies; only message in thread
From: Kaya, Sinan @ 2007-03-27  7:41 UTC (permalink / raw)
  To: pthreads-win32

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;

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.)

Embedded Software Technologies

Tel        : +90 216 459 37 20 

Fax       : +90 216 459 20 42

E-mail    :

Address : Yakacik Caddesi No:111 34870 Kartal, Istanbul-TURKEY

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-03-02 12:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-27  7:41 pthread_mutex_unlock and pthread_mutex_trylock Kaya, Sinan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).