summaryrefslogtreecommitdiff
path: root/libavcodec/w32pthreads.h
Commit message (Collapse)AuthorAge
* w32thread: call ResetEvent() in pthread_cond_broadcast().Sergey Radionov2011-12-22
| | | | | | | Also add "volatile" to broadcast flag (since it is used from multiple threads). Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* w32threads: wait for the waked thread in pthread_cond_signal.Sergey Radionov2011-12-20
| | | | | | | | This fixes a deadlock VLC triggered with multithreaded decoding. The wait forces one of the current waiters to wake and not the thread which calls pthread_cond_signal() itself. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
* w32thread: port fixes to pthread_cond_broadcast() from x264.Ronald S. Bultje2011-12-07
|
* w32threads: Wrap the mutex functions in inline functions returning intMartin Storsjö2011-11-05
| | | | | | This allows using these wrappers in the gcrypt mutex callbacks. Signed-off-by: Martin Storsjö <martin@martin.st>
* w32threads: support for frame multithreadingSteven Walters2011-10-16
Replace our incomplete w32threads implementation with x264's pthreads w32threads wrapper. Relicensed to LGPL with kind permission by Pegasys Inc. Signed-off-by: Janne Grunau <janne-libav@jannau.net>