1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-13 10:26:09 +00:00
mpv/misc
wm4 17e3e800e1 dispatch: fix a race condition triggering an assert()
If we were waiting, and then exiting due to timeout, we still have to
recheck the condition protected by the condition variable/mutex in order
to get back to a consistent state. In this case, the queue was locked
with mp_dispatch_lock(), and mp_dispatch_queue_process() got to return
without waiting for unlock.

Also caused commit 8716c2e8. Probably an argument for replacing the
dispatch queue by a simple mutex.
2016-09-16 16:11:33 +02:00
..
bstr.c
bstr.h
charset_conv.c charset_conv: Use CP949 instead of EUC-KR 2016-09-02 14:46:11 +02:00
charset_conv.h
ctype.h
dispatch.c dispatch: fix a race condition triggering an assert() 2016-09-16 16:11:33 +02:00
dispatch.h player: use better way to wait for input and dispatching commands 2016-09-16 14:49:23 +02:00
json.c
json.h
node.c misc: add some annoying mpv_node helpers 2016-08-28 19:39:05 +02:00
node.h misc: add some annoying mpv_node helpers 2016-08-28 19:39:05 +02:00
rendezvous.c
rendezvous.h
ring.c osdep: rename atomics.h to atomic.h 2016-09-07 11:26:25 +02:00
ring.h