Re: [FFmpeg-devel] [PATCHv2] avutil/thread: Add pthread_cond_timedwait function

2020-01-21 Thread Marton Balint
On Mon, 20 Jan 2020, Matt Oliver wrote: On Mon, 20 Jan 2020 at 11:14, Marton Balint wrote: From: Matt Oliver v2: fix calculating milisecond times and use SleepConditionVariableSRW. Signed-off-by: Matt Oliver --- compat/os2threads.h | 25 + compat/w32pthreads.h

Re: [FFmpeg-devel] [PATCHv2] avutil/thread: Add pthread_cond_timedwait function

2020-01-19 Thread Matt Oliver
On Mon, 20 Jan 2020 at 11:14, Marton Balint wrote: > From: Matt Oliver > > v2: fix calculating milisecond times and use SleepConditionVariableSRW. > > Signed-off-by: Matt Oliver > --- > compat/os2threads.h | 25 + > compat/w32pthreads.h | 18 ++ > libav

[FFmpeg-devel] [PATCHv2] avutil/thread: Add pthread_cond_timedwait function

2020-01-19 Thread Marton Balint
From: Matt Oliver v2: fix calculating milisecond times and use SleepConditionVariableSRW. Signed-off-by: Matt Oliver --- compat/os2threads.h | 25 + compat/w32pthreads.h | 18 ++ libavutil/thread.h | 7 +++ 3 files changed, 50 insertions(+) diff