[Xcb] Bug#496715: Bug#496715: libpthread-stubs: Should provide more pthread_* functions
sthibault at debian.org
Sun Oct 11 12:59:33 PDT 2009
Remi Denis-Courmont, le Sun 11 Oct 2009 12:11:50 +0200, a écrit :
> ----- Message d'origine -----
> > Here is a patch that adds only pthread_condattr_init/destroy,
> > pthread_cond_timedwait, pthread_exit, and makes both cond_*wait abort
> > instead of just returning 0.
> I would expect cond_timedwait to sleep for the specified interval rather than abort (though sleeping in a portable way is not completely trivial). No?
The problem is that we don't have an example where an application
would actually need that behavior. If the application is waiting for
something that can only be signaled by another thread (that's what
condition variables do) while threads are not actually used, there's
probably something wrong in it and it's probably better to just report
More information about the Xcb