On Mon, Apr 30, 2007 at 05:35:41PM -0400, Mike Frysinger wrote: > On Thursday 19 April 2007, Daniel Jacobowitz wrote: > > On Mon, Apr 16, 2007 at 09:14:37PM -0400, Mike Frysinger wrote: > > > On Monday 16 April 2007, Daniel Jacobowitz wrote: > > > > - It calls sleep expecting a cancellation point at nanosleep. But > > > > libc.so's sleep.c has "libc_hidden_proto(nanosleep)" which means it > > > > always calls the libc.so version, never the wrapped version in > > > > libpthread.so that's a cancellation point. Delete that line from > > > > sleep.c and usleep.c and now sleep/usleep start acting like > > > > cancellation points. > > > > > > i need to finish up my local cancellation handler rewrite and get it > > > merged ... > > > > In case anyone's interested in a fix for this meanwhile: > > hmm, thinking about this i see you mean this isnt just a soft "you can safely > ignore me" sort of failure ... this is a "sleep() is no longer treated as a > pthread cancellable function" ... right ? :)
Right - calling pthread_cancel won't interrupt sleep any more. -- Daniel Jacobowitz CodeSourcery _______________________________________________ uClibc mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/uclibc
