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 Revert "w32pthread: help compiler figure out undeeded code" 2013-08-27 23:12:49 +03:00
doc lavfi: allow user-provided execute() callbacks 2013-09-28 08:06:19 +02:00
libavcodec pthread: Avoid spurious wakeups 2013-10-21 15:28:03 +02:00
libavdevice libavutil: Make avpriv_open a library-internal function on msvcrt 2013-08-10 00:53:33 +03:00
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: support -t as an input option. 2013-08-05 10:54:19 +02:00
avconv_opt.c avconv: support -t as an input option. 2013-08-05 10:54:19 +02:00
avconv.c avconv: support -t as an input option. 2013-08-05 10:54:19 +02:00
avconv.h avconv: support -t as an input option. 2013-08-05 10:54:19 +02:00
avplay.c miscellaneous typo fixes 2013-07-25 19:43:32 +02:00
avprobe.c cmdutils: wrap exit explicitly 2013-07-07 21:43:23 +02:00
avserver.c avserver: do not use a static string as a default for a string option 2013-08-04 18:47:22 +02:00
Changelog oggdec: add support for Opus in Ogg demuxing 2013-10-12 15:25:18 +02:00
cmdutils_common_opts.h
cmdutils.c cmdutils: Only do the windows-specific commandline parsing on _WIN32 2013-08-08 10:59:03 +03:00
cmdutils.h cmdutils: wrap exit explicitly 2013-07-07 21:43:23 +02:00
common.mak avformat/output-example: Declare link dependency on libswscale in the Makefile 2013-10-03 23:23:04 +02:00
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.