summaryrefslogtreecommitdiffstats
path: root/lib/thread.h
diff options
context:
space:
mode:
authorpaulo <paul@bayleaf.org.uk>2010-01-18 18:00:34 +0000
committerpaulo <paul@bayleaf.org.uk>2010-01-18 18:00:34 +0000
commit8f62c98f904833033bd4684fa3ae6b516470da75 (patch)
tree75f698ea0fc9ccc0624434e3b25df3d4a0091acf /lib/thread.h
parentea3df74b49782790ba198b744cbe22330377fba4 (diff)
downloadquagga-8f62c98f904833033bd4684fa3ae6b516470da75.tar.bz2
quagga-8f62c98f904833033bd4684fa3ae6b516470da75.tar.xz
Nexus to handle old threads and process the bgp local events. Deals
with having 1 or multiple nexus (and pthreads).
Diffstat (limited to 'lib/thread.h')
-rw-r--r--lib/thread.h3
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 *);