[FFmpeg-devel] [PATCH 2/2] udp: check for HAVE_PTHREAD_CANCEL instead of HAVE_PTHREADS.
nicolas.george at normalesup.org
Mon May 14 19:53:22 CEST 2012
Le decadi 20 floréal, an CCXX, Michael Niedermayer a écrit :
> could this be implemented without using this function ? (without
> too much mess)
The pthread API interacts badly with blocking I/O, that is a known issue,
and the only correct solutions I know are pthread_cancel and a lot of
poll()age, including self-pipe signaling, which IMHO qualifies as "too much
> either way until then this patch is ok
Thanks, pushed both patches.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel