This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: GCJ built multithreaded program keeps creating zombies
- From: Tom Tromey <tromey at redhat dot com>
- To: Wolfgang Bangerth <bangerth at ticam dot utexas dot edu>
- Cc: gcc-bugs at gcc dot gnu dot org, <aeby at graeff dot com>, <gcc-gnats at gcc dot gnu dot org>
- Date: 18 Dec 2002 16:55:30 -0700
- Subject: Re: GCJ built multithreaded program keeps creating zombies
- References: <Pine.LNX.4.44.0212181742530.15269-100000@gandalf.ticam.utexas.edu>
- Reply-to: tromey at redhat dot com
Tom> We create detached threads. My understanding is that such
Tom> threads *can't* be passed as an argument to pthread_join.
Wolfgang> But in his code there is a Thread.join(), so if this does
Wolfgang> something it probably calls waitpid(), no?
Nope, Thread.join is implemented in a platform-independent way.
There are no calls to pthread_join in libgcj.
Tom