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:
instead of the (IMO) correct:
}while(error && errno==EINTR);
Can anybody fix this in CVS? Or give me write access and I’ll do it.