ffmpeg/libavfilter
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-03-08 07:37:18 +01:00
2013-03-08 07:37:18 +01:00
2013-03-08 07:37:18 +01:00
2013-03-08 07:37:18 +01:00
2013-04-30 11:24:57 +02:00
2013-03-08 07:37:18 +01:00
2013-05-24 09:33:05 +02:00
2013-08-31 16:13:42 +02:00
2013-03-08 07:37:18 +01:00
2013-05-24 09:32:07 +02:00
2013-03-08 07:37:18 +01:00
2013-03-08 07:37:18 +01:00
2013-03-08 07:37:18 +01:00