[vlc-devel] [PATCH 4/5] vlccore: implement timeout-free poll()

Rémi Denis-Courmont remi at remlab.net
Mon Mar 4 16:55:26 CET 2013


Unless vlc_cond_(timed)wait() are free of spurious wake-ups, the code is not 
correct. Also note that VLC code does not cope well with poll() errors other 
than EINTR.

It is probably a lot simpler to allocate and store the socketpair() in the 
thread handle and modify OS/2 vlc_cancel() to write to the socket.

Rémi Denis-Courmont

More information about the vlc-devel mailing list