• Filip Roséen's avatar
    misc/threads: fix cancellation during mwait · 1fe78e08
    Filip Roséen authored
    Prior to this patch the while-loop in src/misc/threads.c:mwait would
    keep on spinning until the deadline has been reached, no matter if
    vlc_addr_timedwait woke up due to the thread being canceled.
    
    This commit makes sure that we check whether or not the thread has
    been canceled, through vlc_testcancel, when vlc_addr_timedwait returns
    (in order to also take spurious wake-ups into account).
    Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <remi@remlab.net>
    1fe78e08
Name
Last commit
Last update
..
android Loading commit data...
audio_output Loading commit data...
config Loading commit data...
darwin Loading commit data...
extras Loading commit data...
input Loading commit data...
interface Loading commit data...
linux Loading commit data...
misc Loading commit data...
modules Loading commit data...
network Loading commit data...
os2 Loading commit data...
playlist Loading commit data...
posix Loading commit data...
stream_output Loading commit data...
test Loading commit data...
text Loading commit data...
video_output Loading commit data...
win32 Loading commit data...
.gitignore Loading commit data...
Makefile.am Loading commit data...
check_headers Loading commit data...
check_symbols Loading commit data...
libvlc-module.c Loading commit data...
libvlc.c Loading commit data...
libvlc.h Loading commit data...
libvlc_win32_rc.rc.in Loading commit data...
libvlccore.sym Loading commit data...
missing.c Loading commit data...
version.c Loading commit data...
vlc-plugin.pc.in Loading commit data...