From: Jamie Lokier <lk@tantalophile.demon.co.uk>
To: Ingo Molnar <mingo@elte.hu>, linux-kernel@vger.kernel.org
Subject: Question about CLONE_CLEARTID and thread group leader
Date: Tue, 17 Sep 2002 03:46:25 +0100 [thread overview]
Message-ID: <20020917034625.A22892@kushida.apsleyroad.org> (raw)
Dear Ingo,
CLONE_CLEARTID was created so that a thread can notify its partner
threads that its stack may by freed or reused. It is needed because the
stack isn't free until the exit() system call begins.
One question has been bothering me for a while: what about the thread
group leader's stack? These days, isn't it the case that the group
leader is supposed to be equivalent to the other threads? If so, how
does it exit and release its own stack -- or do we understand that the
group leader, as a one-off exception, has to block signals before exiting?
Thanks,
-- Jamie
next reply other threads:[~2002-09-17 2:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-17 2:46 Jamie Lokier [this message]
2002-09-17 3:10 ` Ingo Molnar
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=20020917034625.A22892@kushida.apsleyroad.org \
--to=lk@tantalophile.demon.co.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/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
all inboxes | Powered by JetHome®