diff options
author | paulo <paul@bayleaf.org.uk> | 2009-12-17 15:41:58 +0000 |
---|---|---|
committer | paulo <paul@bayleaf.org.uk> | 2009-12-17 15:41:58 +0000 |
commit | 57c08de786262cfb59cbc691ac18712d0ac1e9e3 (patch) | |
tree | b52688512b6703112245bcfd6ee63421abdc0c20 /lib/thread.h | |
parent | 550bd24b6140cbf36e1bbc175d8719b1521a716e (diff) | |
download | quagga-57c08de786262cfb59cbc691ac18712d0ac1e9e3.tar.bz2 quagga-57c08de786262cfb59cbc691ac18712d0ac1e9e3.tar.xz |
Fix shutdown. Move cpu stats command to cli thread.
Diffstat (limited to 'lib/thread.h')
-rw-r--r-- | lib/thread.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/thread.h b/lib/thread.h index b52bc541..43d4d12f 100644 --- a/lib/thread.h +++ b/lib/thread.h @@ -22,6 +22,8 @@ #ifndef _ZEBRA_THREAD_H #define _ZEBRA_THREAD_H +#include <sys/resource.h> + struct rusage_t { #ifdef HAVE_RUSAGE @@ -163,6 +165,8 @@ enum quagga_clkid { /* Prototypes. */ extern struct thread_master *thread_master_create (void); extern void thread_master_free (struct thread_master *); +extern void thread_init_r (void); +extern void thread_finish (void); extern struct thread *funcname_thread_add_read (struct thread_master *, int (*)(struct thread *), |