mirror of https://github.com/mpv-player/mpv
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 |