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

Nicolas George nicolas.george at normalesup.org
Thu Mar 15 21:29:34 CET 2012


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.

> Will it compile when the Windows pthread stub is in use instead
> of full pthreads?

I do not have the slightest idea, sorry. Actually, the answer is easy:
probably not, as there is no pthread_cancel in w32pthread.h.

I do not know windows programming at all: how hard would it be to implement
pthread_cancel in that context?

Regards,

-- 
  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/20120315/eba23f0d/attachment.asc>


More information about the ffmpeg-devel mailing list