From: "Kaya, Sinan" <sinan.kaya@siemens.com>
To: <pthreads-win32@sourceware.org>
Subject: pthread_mutex_unlock and pthread_mutex_trylock
Date: Tue, 27 Mar 2007 07:41:00 -0000 [thread overview]
Message-ID: <725A29F6B5035C45A40BDE230A5B92190AB03D95@TRISTK010MSX.tr001.siemens.net> (raw)
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
reply other threads:[~2007-03-02 12:39 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=725A29F6B5035C45A40BDE230A5B92190AB03D95@TRISTK010MSX.tr001.siemens.net \
--to=sinan.kaya@siemens.com \
--cc=pthreads-win32@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).