On Friday 01 June 2007 10:53:01 Kasia Binam wrote: > After daemon()-izing a process, when I use pthread_create to start a new > thread, the main thread > never wakes up. For example: > ... > So the pthread manager is trying to wake up the original main thread > before it was daemonized. If I replace daemon() with a duplicate of the > daemon() code in my example program, there is no problem. It seems like > there's something funny with the alias or build magic so that I'm using > two different forks?
problem due to hidden fork symbol usage in daemon() rather than using the fork() provided by libpthread https://bugs.busybox.net/show_bug.cgi?id=193 -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
