Ben Jackson f1ec792ae3 pthread: Avoid crashes/odd behavior caused by spurious wakeups
pthread_wait_cond can wake up for no reason (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.
This adds tests to both cases to ensure the wakeup is real.

Signed-off-by: Ben Jackson <ben@ben.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit e3329474a366de066b25e86f35f5abf9c5a4b7b2)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-09-15 00:15:02 +02:00
2012-09-13 09:21:26 +02:00
2012-06-07 00:55:26 +02:00
2012-05-08 08:39:37 +02:00
2011-06-12 18:01:29 +02:00
2012-05-04 18:40:36 +02:00
2012-05-28 19:33:43 +02:00
2012-09-13 04:46:50 +02:00
2012-06-07 22:53:09 +02:00
2011-04-08 02:50:13 +02:00
2012-05-24 21:15:01 +02:00
2012-04-06 10:23:26 +02:00
2012-06-07 22:53:09 +02:00
2012-06-07 22:53:09 +02:00

FFmpeg README
-------------

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

* Read the documentation in the doc/ directory in git.
  You can also view it online at http://ffmpeg.org/documentation.html

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

* See the LICENSE file.

3) Build and Install
--------------------

* See the INSTALL file.
Description
No description provided
Readme 173 MiB
Languages
C 92.1%
Assembly 6%
Makefile 1.2%
C++ 0.3%
Objective-C 0.2%
Other 0.1%