summaryrefslogtreecommitdiff
path: root/libavcodec/w32pthreads.h
Commit message (Collapse)AuthorAge
* w32pthreads: move from lavc to compat/Anton Khirnov2013-05-24
| | | | It will be used in other places than lavc.
* win32: Do not use GetProcAddress when compiled for Vista+Jean-Baptiste Kempf2013-05-19
| | | | | | Instead link directly to the condition variable functions. Signed-off-by: Martin Storsjö <martin@martin.st>
* Give all anonymously typedeffed structs in headers a nameDiego Biurrun2012-10-06
| | | | Anonymous structs cannot be forward declared and have no benefit.
* w32pthreads: Add missing #includes to make header compile standaloneDiego Biurrun2012-08-14
|
* w32threads: Make pthread_cond_wait follow POSIXDerek Buitenhuis2012-04-04
| | | | | | | | pthread_cond_wait is supposed to return an integer, and indeed does sometimes. Fix its function declaration to match its behavior and POSIX. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* 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>