[FFmpeg-devel] [PATCH 2/2] compat/w32pthreads: use the condition variable API directly when targeting newer versions of Windows

Michael Niedermayer michaelni at gmx.at
Thu Oct 9 22:34:54 CEST 2014


On Thu, Oct 09, 2014 at 01:52:08PM -0300, James Almer wrote:
> Wrap the function calls in a similar fashion to how it's being done
> with the critical section API.
> 
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---
> The redefinition of InitializeCriticalSection and WaitForSingleObject is not 
> removed now, as it's still needed by other functions.
> Sorry for missing it earlier.
> 
>  compat/w32pthreads.h | 61 +++++++++++++++++++++++++++++++++-------------------
>  1 file changed, 39 insertions(+), 22 deletions(-)

probably ok also
tested with mingw 32 & 64

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The greatest way to live with honor in this world is to be what we pretend
to be. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141009/f0fa353e/attachment.asc>


More information about the ffmpeg-devel mailing list