From 0543006c11cd6e092e390b203dac1dcc8b26fd06 Mon Sep 17 00:00:00 2001 From: paulo Date: Thu, 21 Jan 2010 14:53:26 +0000 Subject: 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. --- lib/qlib_init.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/qlib_init.c') 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(); } -- cgit v1.2.3