diff options
Diffstat (limited to 'lib/thread.h')
| -rw-r--r-- | lib/thread.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/thread.h b/lib/thread.h index 70090cf784..f404d92755 100644 --- a/lib/thread.h +++ b/lib/thread.h @@ -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); |
