API: Run dav1d_init under pthread_once
All threads resolved!
All threads resolved!
This makes the function thread safe, to call, for example, from multiple transient dependecies or threads.
NB: Wasn't sure if it's OK to put a global pthread_once_t variable in lib.c, or if there's a more preferred place.
Merge request reports
Activity
Filter activity
- Resolved by Derek Buitenhuis
- Resolved by Derek Buitenhuis
- Resolved by Derek Buitenhuis
This is missing a pthread_once() wrapper in src/win32/thread.c, and a relevant pthread_once_t typedef and PTHREAD_ONCE_INIT define in src/thread.h
added 24 commits
-
60a36f3e...3a008361 - 22 commits from branch
videolan:master
- f87db5e7 - win32: Add implementation of pthread_once
- eaf974ba - API: Run dav1d_init under pthread_once
-
60a36f3e...3a008361 - 22 commits from branch
- Resolved by Hugo Beauzée-Luyssen
added 19 commits
-
eaf974ba...cbeac008 - 17 commits from branch
videolan:master
- a6853a94 - win32: Add implementation of pthread_once
- afac3d3f - API: Run dav1d_init under pthread_once
-
eaf974ba...cbeac008 - 17 commits from branch
Please register or sign in to reply