Author | SHA1 | Message | Date |
---|---|---|---|
|
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> |
11 years ago |
|
0767bfd199 | lavfi: allow user-provided execute() callbacks | 12 years ago |
|
50612484e0 |
pthread: Rename thread_init to avoid symbol collision
The AIX threads library exposes a function with the same name. Signed-off-by: Martin Storsjö <martin@martin.st> |
12 years ago |
|
129bb23843 |
lavfi: add a slice threading infrastructure
Mostly based on libavcodec's |
12 years ago |