This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/19430] __reclaim_stacks is bogus
- From: "triegel at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 12 Jan 2017 11:14:47 +0000
- Subject: [Bug nptl/19430] __reclaim_stacks is bogus
- Auto-submitted: auto-generated
- References: <bug-19430-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=19430
Torvald Riegel <triegel at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |triegel at redhat dot com
--- Comment #1 from Torvald Riegel <triegel at redhat dot com> ---
I don't think it is required to preserve objects on the stack of threads that
have not been re-created in the child after fork(). POSIX states that only one
thread will exist in the forked child. This seems equivalent to saying that
all threads are duplicated in the child, but all child but the one that is the
duplicate of the parent thread that called fork() are terminated before that
remaining child thread continues execution. Given that objects on stacks of
terminated threads are not required to be preserved either, I think this is not
a bug. Please close this bug if you agree with this reasoning.
--
You are receiving this mail because:
You are on the CC list for the bug.