[FFmpeg-devel] [PATCH 2/2] udp: fix non-blocking and interrupt handling.
Michael Niedermayer
michaelni at gmx.at
Fri Mar 16 22:42:51 CET 2012
On Fri, Mar 16, 2012 at 10:22:28PM +0100, Nicolas George wrote:
> 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.
cross compiler + wine should work (our mingw fate targets work this
way)
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- 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/c97e42fd/attachment.asc>
More information about the ffmpeg-devel
mailing list