[FFmpeg-devel] [PATCH 2/2] udp: fix non-blocking and interrupt handling.

Nicolas George nicolas.george at normalesup.org
Fri Mar 16 22:22:28 CET 2012


Le sextidi 26 ventôse, an CCXX, Michael Niedermayer a écrit :
> LGTM

Actually, it suffers from the same problem that Reimar raised about
pthread_cancel: the basic implementation w32pthreads.h does not implement
pthread_timedwait.

This one seems rather simple to fix, since we can see the following code:

	cond_wait(cond, mutex, INFINITE);

	WaitForSingleObject(win32_cond->semaphore, INFINITE);

and INFINITE seems to be a timeout in milliseconds.

Unfortunately, I do not have a windows devel environment (nor do I intend
to, but I may change my mind if it possible using only Free software), so I
can not test anything myself.

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/20120316/976d6e7a/attachment.asc>


More information about the ffmpeg-devel mailing list