Re: using pthreads with fork() in linux




Arnold Hendriks wrote:
"Maxim Yegorushkin" <maxim.yegorushkin@xxxxxxxxx> wrote in message
news:1149002656.532527.297650@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Elena wrote:
What I see is that the pthread manager process becomes a zombee, and
the parent doesn't success to see that his child exited.
I ran your code on linux fc5 and I could not see the zombie. The parent
process correctly cleans up the child.
Does FC5 still use linuxthreads then? I thought that Redhat 9 had already
switched to NTPL, and that NTPL doesn't use a manager thread.

http://fedora.redhat.com/docs/release-notes/fc5/release-notes-ISO/#id3083554

.



Relevant Pages

  • Re: using pthreads with fork() in linux
    ... the parent doesn't success to see that his child exited. ... I ran your code on linux fc5 and I could not see the zombie. ... process correctly cleans up the child. ... switched to NTPL, and that NTPL doesn't use a manager thread. ...
    (comp.programming.threads)
  • Re: using pthreads with fork() in linux
    ... the parent doesn't success to see that his child exited. ... I ran your code on linux fc5 and I could not see the zombie. ... Does FC5 still use linuxthreads then? ... my question now is how I make sure I work with NPTL? ...
    (comp.programming.threads)
  • signaling threads from a forked child?
    ... Linux kernel 2.6.12 + NTPL. ... Could someone clarify if it the following ... Can a forked child, signal a thread created by it's parent before the ...
    (comp.programming.threads)
  • Re: using pthreads with fork() in linux
    ... the parent doesn't success to see that his child exited. ... I ran your code on linux fc5 and I could not see the zombie. ... I have an embedded montavista linux. ...
    (comp.programming.threads)