diff options
author | paulo <paul@bayleaf.org.uk> | 2010-01-21 14:53:26 +0000 |
---|---|---|
committer | paulo <paul@bayleaf.org.uk> | 2010-01-21 14:53:26 +0000 |
commit | 0543006c11cd6e092e390b203dac1dcc8b26fd06 (patch) | |
tree | 22b7ba595a1bc472775e032263529741986408d7 /lib/qlib_init.c | |
parent | 305c1b3dd35748bc949a139ce8db03f7f5552cde (diff) | |
download | quagga-0543006c11cd6e092e390b203dac1dcc8b26fd06.tar.bz2 quagga-0543006c11cd6e092e390b203dac1dcc8b26fd06.tar.xz |
Fixes to get 3 threads working. Fixes to get threaded command working.
Removed some of the temporary debuggery in qtimers that only worked in 1
thread. Initialised the mqueue mutex. Stopped peer_index from
zeroizing its mutex after it had been initialized.
Diffstat (limited to 'lib/qlib_init.c')
-rw-r--r-- | lib/qlib_init.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/qlib_init.c b/lib/qlib_init.c index e6bce633..67391395 100644 --- a/lib/qlib_init.c +++ b/lib/qlib_init.c @@ -25,6 +25,7 @@ #include "qpthreads.h" #include "thread.h" #include "privs.h" +#include "mqueue.h" /*============================================================================== * Quagga Library Initialise/Closedown @@ -75,6 +76,7 @@ qlib_init_second_stage(int pthreads) memory_init_r(); thread_init_r(); zprivs_init_r(); + mqueue_initialise(); } |