FFmpeg/libavcodec
Derek Buitenhuis eb90a2091f 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>
2013-10-13 05:50:00 -04:00
..
2013-05-17 15:37:03 +02:00
2013-10-03 23:00:09 +02:00
2013-05-28 13:35:09 +02:00
2013-06-07 17:23:53 +02:00
2013-07-28 14:58:18 +02:00
2013-09-24 13:24:29 +02:00
2013-10-13 01:38:21 +02:00
2013-10-09 22:25:19 +02:00
2013-05-16 00:00:41 +02:00
2013-05-16 00:00:41 +02:00
2013-05-17 16:44:13 +02:00
2013-05-16 00:00:41 +02:00
2013-05-16 00:00:41 +02:00
2013-08-07 21:13:12 +02:00
2013-08-08 10:52:44 +02:00
2013-08-08 10:52:44 +02:00
2013-09-13 12:14:05 +02:00
2013-08-13 14:04:55 +02:00
2013-09-19 11:09:18 +03:00
2013-10-10 17:52:14 +02:00
2013-06-07 17:23:53 +02:00
2013-06-02 17:59:34 +02:00
2013-06-02 17:59:34 +02:00
2013-07-25 11:17:06 +02:00
2013-05-28 13:56:29 +03:00
2013-05-28 13:56:29 +03:00
2013-10-03 17:53:51 +02:00
2013-10-09 22:25:01 +02:00
2013-09-18 14:10:05 -04:00
2013-09-18 14:10:05 -04:00
2013-07-25 19:43:32 +02:00