• Rémi Denis-Courmont's avatar
    timer: fix race when reschedulingr (fixes #17289) · e7c0cb0f
    Rémi Denis-Courmont authored
    This fixes the overrun counter to always use the intended deadline
    and interval values. Otherwise the counter value would be garbade, and
    potentially cause an interger underflow. This would also potentially
    corrupt the adjusted deadline and stall the timer thread.
    
    This also fixes the disarm handling. From now on, a non-recurrent timer
    is disarmed after expiration only if it has not been rescheduled or if
    the new schedule is no later than the old one.
    e7c0cb0f
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...