[FFmpeg-devel] [PATCH 2/2] udp: check for HAVE_PTHREAD_CANCEL instead of HAVE_PTHREADS.

Nicolas George 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.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120514/cafec0e3/attachment.asc>

More information about the ffmpeg-devel mailing list