[FFmpeg-devel] [PATCH 1/5] udp: use pthread_cancel instead of a shared flag.

Carl Eugen Hoyos cehoyos at ag.or.at
Tue May 8 13:13:12 CEST 2012


Nicolas George <nicolas.george <at> normalesup.org> writes:

> Le sextidi 26 ventôse, an CCXX, Reimar Döffinger a écrit :
> > I have some doubts that is portable.
> > Will things work nicely when that feature is not supported?
> 
> AFAIK, cancelling at blocking operations is not an optional feature.

While it has no similarities with a valid bug report, it appears 
that ticket #1284 indicates there is such a system.

Perhaps pthread_cancel() should be checked to set HAVE_PTHREADS?

Carl Eugen



More information about the ffmpeg-devel mailing list