]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/thread.h
zebra, lib: fix the ZEBRA_INTERFACE_VRF_UPDATE zapi message
[mirror_frr.git] / lib / thread.h
index 70090cf7841447b4146cc0747aca95d9dba09ba6..f404d92755e6b82a28671259b5f2e821c75a3385 100644 (file)
@@ -125,7 +125,7 @@ struct cpu_thread_history {
                _Atomic unsigned long total, max;
        } real;
        struct time_stats cpu;
-       _Atomic uint8_t types;
+       _Atomic uint32_t types;
        const char *funcname;
 };
 
@@ -217,6 +217,7 @@ extern struct thread *thread_fetch(struct thread_master *, struct thread *);
 extern void thread_call(struct thread *);
 extern unsigned long thread_timer_remain_second(struct thread *);
 extern struct timeval thread_timer_remain(struct thread *);
+extern unsigned long thread_timer_remain_msec(struct thread *);
 extern int thread_should_yield(struct thread *);
 /* set yield time for thread */
 extern void thread_set_yield_time(struct thread *, unsigned long);