You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by mt...@apache.org on 2005/05/15 18:50:26 UTC
cvs commit: jakarta-tomcat-connectors/jk/native/common jk_worker.c
mturk 2005/05/15 09:50:26
Modified: jk/native/common jk_worker.c
Log:
Exclude static lock in case there is no multithreading compiled in.
Revision Changes Path
1.35 +4 -1 jakarta-tomcat-connectors/jk/native/common/jk_worker.c
Index: jk_worker.c
===================================================================
RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/common/jk_worker.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -r1.34 -r1.35
--- jk_worker.c 15 May 2005 13:02:38 -0000 1.34
+++ jk_worker.c 15 May 2005 16:50:26 -0000 1.35
@@ -25,6 +25,7 @@
#include "jk_worker_list.h"
#include "jk_worker.h"
#include "jk_util.h"
+#include "jk_mt.h"
static void close_workers(jk_logger_t *l);
@@ -37,7 +38,9 @@
/* Global worker list */
static jk_map_t *worker_map;
+#if _MT_CODE
static JK_CRIT_SEC worker_lock;
+#endif
static int worker_maintain_time = 0;
int wc_open(jk_map_t *init_data, jk_worker_env_t *we, jk_logger_t *l)
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org