From: John M Collins <jmc@xisl.com>
To: Linus Torvalds <torvalds@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Semaphores and threads anomaly and bug?
Date: Tue, 4 Nov 2003 18:09:28 +0000 [thread overview]
Message-ID: <200311041809.28543.jmc@xisl.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0311040928110.20373-100000@home.osdl.org>
On Tuesday 04 November 2003 17:29, Linus Torvalds wrote:
> On Tue, 4 Nov 2003, John M Collins wrote:
> > I know this isn't defined anywhere but the seems to be an ambiguity and
> > discrepancy between versions of Unix and Linux over threads and
> > semaphores.
> >
> > Do the "SEM_UNDO"s get applied when a thread terminates or when the
> > "whole thing" terminates?
>
> It's entirely up to you. That's what CLONE_SYSVSEM is supposed to
> determine.
>
> However, CLONE_SYSVSEM is fairly recent, and I think you will need to use
> the new threading libraries to see it.
Thanks.
Could I possibly draw your attention to the other point I made about the
updating of "sempid" which does seem to be a mistake to me?
--
John Collins Xi Software Ltd www.xisl.com
next prev parent reply other threads:[~2003-11-04 18:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-04 16:45 Semaphores and threads anomaly and bug? John M Collins
2003-11-04 17:29 ` Linus Torvalds
2003-11-04 18:09 ` John M Collins [this message]
2003-11-04 17:59 Manfred Spraul
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=200311041809.28543.jmc@xisl.com \
--to=jmc@xisl.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.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 NNTP newsgroup(s).