diff options
author | Chris Hall <GMCH@hestia.halldom.com> | 2010-01-19 01:12:11 +0000 |
---|---|---|
committer | Chris Hall <GMCH@hestia.halldom.com> | 2010-01-19 01:12:11 +0000 |
commit | 7fc51586dd130786b2cde348cf64967de12cf4f3 (patch) | |
tree | 8f59c922b727c41b9e4d74aae1df68971773c58a /lib/thread.h | |
parent | edc82cd294e7c4cfca309e08abede282456ca376 (diff) | |
parent | e0f9836737c9e91b8fa4c72b45d1fdc286e2d811 (diff) | |
download | quagga-7fc51586dd130786b2cde348cf64967de12cf4f3.tar.bz2 quagga-7fc51586dd130786b2cde348cf64967de12cf4f3.tar.xz |
Merge branch 'bgp_engine' of /git/quagga.euro-ix into bgp_engine
Diffstat (limited to 'lib/thread.h')
-rw-r--r-- | lib/thread.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/thread.h b/lib/thread.h index 43d4d12f..b0699650 100644 --- a/lib/thread.h +++ b/lib/thread.h @@ -23,6 +23,7 @@ #define _ZEBRA_THREAD_H #include <sys/resource.h> +#include "qtime.h" struct rusage_t { @@ -194,6 +195,8 @@ extern struct thread *funcname_thread_execute (struct thread_master *, extern void thread_cancel (struct thread *); extern unsigned int thread_cancel_event (struct thread_master *, void *); extern struct thread *thread_fetch (struct thread_master *, struct thread *); +struct thread * thread_fetch_event (struct thread_master *m, struct thread *fetch, + qtime_mono_t *event_wait); extern void thread_call (struct thread *); extern unsigned long thread_timer_remain_second (struct thread *); extern int thread_should_yield (struct thread *); |