[Xcb] Bug#496715: Bug#496715: Bug#496715: libpthread-stubs: Should provide more pthread_* functions

Samuel Thibault sthibault at debian.org
Sat Oct 10 16:24:58 PDT 2009


Jamey Sharp, le Thu 08 Oct 2009 14:37:54 -0700, a écrit :
> > I haven't seen any in the Debian packages yet, but I can very well
> > imagine that a library could want to protect itself from unexpected
> > cancellation from another thread of the application while doing
> > sensitive things.
> 
> True, though I think pthread_cleanup_push/pop probably suffices for
> those cases?

Well, it's far more difficult to clean things that got interrupted than
just making sure one isn't interrupted :)

Samuel




More information about the Xcb mailing list