mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 07:42:17 +00:00
b9cc33de58
SRW locks are available since Windows Vista. They work essentially like Linux futexes. In particular, they can be statically initialized, and do not require deinitialization. This makes them ideal for implementing PTHREAD_MUTEX_INITIALIZER. We still need CRITICAL_SECTION for recursive mutexes. |
||
---|---|---|
.. | ||
include | ||
pthread.c |