summaryrefslogtreecommitdiff
path: root/libavutil/thread.h
Commit message (Collapse)AuthorAge
* lavu/buffer: drop USE_ATOMICSClément Bœsch2017-03-22
| | | | | | | USE_ATOMICS is only set if there is no thread implementation enabled, in which case you can't expect any lock mechanism from FFmpeg. This is also conflicting with the incoming use of stdatomic.
* lavu: add pthread asserts if ASSERT_LEVEL>1Clément Bœsch2016-01-20
|
* Merge commit 'c53e796f8b69799b7ad6d28fbab981d37edf1bc9'Hendrik Leppkes2015-10-14
|\ | | | | | | | | | | | | * commit 'c53e796f8b69799b7ad6d28fbab981d37edf1bc9': thread: Provide no-op variants for pthread_once Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
| * thread: Provide no-op variants for pthread_onceLuca Barbato2015-10-14
| |
| * thread: use "" instead of <> for including the w32pthreads wrapperAnton Khirnov2014-12-14
| | | | | | | | Found-by: Dave Yeo <dave.r.yeo@gmail.com>
* | avutil/buffer: Move USE_ATOMICS to thread.h to avoid it becoming out of sync ↵Michael Niedermayer2014-11-29
| | | | | | | | | | | | with it Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavutil/threads.h: correct an include to be localDave Yeo2014-11-29
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | libavutil/thread.h: Support OS/2 threadsDave Yeo2014-11-29
| | | | | | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '2443e522f0059176ff8717c9c753eb6fe7e7bbf1'Michael Niedermayer2014-11-27
|/ | | | | | | * commit '2443e522f0059176ff8717c9c753eb6fe7e7bbf1': lavu: add wrappers for the pthreads mutex API Merged-by: Michael Niedermayer <michaelni@gmx.at>
* lavu: add wrappers for the pthreads mutex APIAnton Khirnov2014-11-27
Also add no-op fallbacks when threading is disabled. This helps keeping the code clean if Libav is compiled for targets without threading. Since we assume that no threads of any kind are used in such configurations, doing nothing is ok by definition. Based on a patch by wm4 <nfxjfg@googlemail.com>.