[vlc-devel] [PATCH 3/6] timer: add a define to fire a timer only once

Steve Lhomme robux4 at ycbcr.xyz
Thu Jul 5 15:22:50 CEST 2018


---
 include/vlc_threads.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/vlc_threads.h b/include/vlc_threads.h
index 0b9de32fb9..14cf360d2a 100644
--- a/include/vlc_threads.h
+++ b/include/vlc_threads.h
@@ -949,6 +949,7 @@ VLC_USED;
 VLC_API void vlc_timer_destroy(vlc_timer_t timer);
 
 #define VLC_TIMER_DISARM    (0)
+#define VLC_TIMER_FIRE_ONCE (0)
 
 /**
  * Arms or disarms an initialized timer.
-- 
2.17.0



More information about the vlc-devel mailing list