1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00
Go to file
Ben Jackson 5152196b2b pthread: Avoid spurious wakeups
pthread_wait_cond can wake up unexpectedly (Wikipedia: Spurious_wakeup).

The FF_THREAD_SLICE thread mechanism could spontaneously execute
jobs or allow the caller of avctx->execute to return before all
jobs were complete.

Test both cases to ensure the wakeup is real.

Signed-off-by: Ben Jackson <ben@ben.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2013-10-21 15:28:03 +02:00
compat
doc
libavcodec pthread: Avoid spurious wakeups 2013-10-21 15:28:03 +02:00
libavdevice
libavfilter pthread: Fix deadlock during thread initialization 2013-10-13 05:50:00 -04:00
libavformat wtv: Seek by sector properly 2013-10-18 15:08:18 +02:00
libavresample x86inc: Remove our FMA4 support 2013-10-14 12:39:29 +01:00
libavutil mem: Make av_strdup allocate using av_realloc 2013-10-16 18:59:01 +03:00
libswscale swscale: provide a default scaler if none is set 2013-10-05 18:38:55 +02:00
presets
tests fate: vpx: Remove one redundant $(eval) invocation 2013-10-19 15:09:29 +02:00
tools ismindex: Change the duration field to int64_t 2013-10-05 00:01:28 +03:00
.gitignore
arch.mak
avconv_filter.c
avconv_opt.c
avconv.c
avconv.h
avplay.c
avprobe.c
avserver.c
Changelog oggdec: add support for Opus in Ogg demuxing 2013-10-12 15:25:18 +02:00
cmdutils_common_opts.h
cmdutils.c
cmdutils.h
common.mak
configure build: Require yasm 0.8.0 or higher 2013-10-09 07:44:19 -04:00
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
INSTALL
library.mak build: Strip spurious labels 2013-10-07 06:20:15 -04:00
LICENSE
Makefile
README
RELEASE
version.sh

Libav README
------------

1) Documentation
----------------

* Read the documentation in the doc/ directory.

2) Licensing
------------

* See the LICENSE file.