[uClibc]detached threads become zombies when hey exit
Van Rafelghem, Dominique
VanRafelghemD at intheairnet.com
Thu May 22 21:41:08 UTC 2003
Hi,
The problem I am having is that when I create some child threads using
pthread_create and passing a pthread_attr_t attribute which is set to
PTRHEAD_CREATE_DETACHED (by calling ptrhead_attr_setdetachstate) and the
child threads exit, they end up becoming zombies and don't release the
resources allocated to them.
When I compile the same code on my Red Hat Linux box using gcc 2.96
everything works fine. When the child thread exits it disappears and
releases all of its resources.
This is my current setup.
Processor : 5272 ColdFire
uClinux dist. : uClinux-20030305.tar.gz
Tool Chain : m68k-elf-tools-20030314.sh.
uClibc mod : enabled Posix threading support
Any help would be greatly appreciated.
Dominique
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/uclibc/attachments/20030522/55959e7d/attachment-0001.htm
More information about the uClibc
mailing list