tst-too-many-cleanups never completes

Daniel Jacobowitz drow at false.org
Mon Apr 30 21:43:10 UTC 2007


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



More information about the uClibc mailing list