Hi guys,

 

In the same process as libxine, I am using a library that makes intensive use of signals.  I found out that very often xine_usec_sleep() returns before the specified time has elapsed.  That happens because xine_usec_sleep() is not signal-aware.  It does:

 

  nanosleep(&ts, NULL);

 

instead of the (IMO) correct:

 

  do{

    ts=rem;

    error=nanosleep(&ts, &rem);

  }while(error && errno==EINTR);

 

Can anybody fix this in CVS?  Or give me write access and I’ll do it.  

 

Thanks!

Mat