uClibc + Fuse Deadlock problem progress!
Kasia Binam
kasia.binam at texmemsys.com
Tue Dec 18 21:04:30 UTC 2007
I posted a similar issue a while back for daemon() and pthreads in
0.29.9, but got no response -- probably because I posted TMI :) I'm
not sure this is the correct way to fix this, but the libc_hidden_proto
has daemon() use the libc fork instead of libpthread's fork. If I just
take it out, threads do not hang after daemon() as before.
diff -u libc/unistd/daemon.c ./daemon.c
--- libc/unistd/daemon.c 2007-12-18 14:42:45.000000000 -0600
+++ ./daemon.c 2007-12-18 14:43:17.000000000 -0600
@@ -54,7 +54,6 @@
libc_hidden_proto(dup2)
libc_hidden_proto(setsid)
libc_hidden_proto(chdir)
-libc_hidden_proto(fork)
int daemon( int nochdir, int noclose )
{
More information about the uClibc
mailing list