mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Question about CLONE_CLEARTID and thread group leader
@ 2002-09-17  2:46 Jamie Lokier
  2002-09-17  3:10 ` Ingo Molnar
  0 siblings, 1 reply; 2+ messages in thread
From: Jamie Lokier @ 2002-09-17  2:46 UTC (permalink / raw)
  To: Ingo Molnar, linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-17  2:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-17  2:46 Question about CLONE_CLEARTID and thread group leader Jamie Lokier
2002-09-17  3:10 ` Ingo Molnar

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®