From: Vladimir Zidar <vladimir@mindnever.org>
To: linux-kernel@vger.kernel.org
Subject: Process-Shared Mutex (futex) - What is it good for ?
Date: 06 Jun 2002 18:21:01 +0200 [thread overview]
Message-ID: <1023380463.1751.39.camel@server1> (raw)
Nice to have everything as POSIX says, but how could process-shared
mutex be usefull ? Imagine two processes useing one mutex to lock shared
memory area. One process locks, and then dies (for example, it goes
sigSEGV way). Second process could wait for ages (untill reboot ?) and
it won't get lock() on that mutex ever. Wouldn't it be more usefull to
have automatic mutex cleanup after process death ? Just make a cleanup,
and mark it as 'damaged', so other processes will eventualy get error
saying that something went wrong.
--
Bye,
and have a very nice day !
next reply other threads:[~2002-06-06 16:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-06 16:21 Vladimir Zidar [this message]
2002-06-07 8:35 ` Process-Shared Mutex (futex) - What is it good for ? Peter Wächtler
2002-06-07 20:17 ` Vladimir Zidar
2002-06-09 9:49 ` Peter Wächtler
2002-06-10 15:43 ` Vladimir Zidar
2002-06-11 13:19 ` Peter Wächtler
2002-06-11 17:18 ` Vladimir Zidar
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=1023380463.1751.39.camel@server1 \
--to=vladimir@mindnever.org \
--cc=linux-kernel@vger.kernel.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