Files
ffmpeg/libavcodec
Derek Buitenhuis 48d57650f1 pthread: Fix deadlock during thread initialization
Sometimes, if pthread_create() failed, then pthread_cond_wait() could
accidentally be called in the worker threads after the uninit function
had already called pthread_cond_broadcast(), leading to a deadlock.

Don't call pthread_cond_wait() if c->done is set.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
(cherry picked from commit 1a5a6ac01b)
2014-01-07 09:43:58 +01:00
..
2013-10-16 23:05:50 +02:00
2013-10-28 14:16:37 +01:00
2013-09-23 19:45:33 -04:00
2013-09-21 15:33:11 +02:00
2013-12-14 14:30:24 -05:00
2012-04-29 22:07:03 +02:00
2014-01-07 09:43:57 +01:00
2014-01-07 09:43:57 +01:00
2013-10-28 14:16:37 +01:00
2013-03-12 23:30:08 +01:00
2013-07-06 10:06:11 +02:00
2012-03-14 21:09:19 +01:00
2012-05-23 20:43:42 +02:00
2012-03-06 15:45:30 +02:00
2012-03-06 15:45:30 +02:00
2013-09-23 19:42:57 -04:00
2013-09-21 15:11:07 +02:00
2013-09-13 15:49:23 +02:00
2013-06-22 08:40:02 +02:00
2012-03-14 21:02:23 +01:00
2012-04-29 22:07:03 +02:00
2012-04-29 22:07:03 +02:00
2013-02-25 20:34:26 +01:00
2012-03-14 21:09:19 +01:00
2013-03-13 13:58:10 +01:00
2014-01-07 09:43:58 +01:00
2012-09-28 08:05:24 +02:00
2012-03-08 22:07:55 +01:00
2012-03-08 22:07:55 +01:00
2012-03-14 21:09:28 +01:00
2012-10-06 08:43:43 +02:00
2012-10-06 08:43:43 +02:00
2012-10-06 08:43:43 +02:00
2014-01-07 09:43:58 +01:00
2013-06-22 08:51:56 +02:00
2012-10-19 19:23:14 +02:00
2012-03-08 22:07:55 +01:00
2013-10-28 14:16:37 +01:00
2013-06-30 16:10:46 +02:00
2014-01-07 09:43:56 +01:00
2012-03-08 22:07:55 +01:00
2012-03-08 22:07:55 +01:00
2013-01-02 20:28:18 +01:00
2013-09-13 15:26:52 +02:00
2013-06-22 08:51:56 +02:00
2013-09-23 19:25:50 -04:00
2014-01-07 09:43:57 +01:00