[uClibc] problem with pthread_manager
Alexandre Oliva
aoliva at redhat.com
Thu Jun 24 19:22:25 UTC 2004
On Jun 24, 2004, Thomas Eschenbacher <Thomas.Eschenbacher at gmx.de> wrote:
> As I interprete it, it means: "as soon as something happens and if we
> are started from the init() context, then exit". And this is what
> happens: our program is running instead of init - and therefore fails!
The thread manager is a child of the main thread. If the main thread
dies, init becomes the parent of the thread manager. When the thread
manager notices this happened, it kills the rest of the process.
> I attached a patch that should fix that
I don't see how it could work. A process can only wait() for its
children.
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}
More information about the uClibc
mailing list