tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native/netscape jk_nsapi_plugin.c
Date Sun, 13 Feb 2005 12:28:42 GMT
mturk       2005/02/13 04:28:42

  Modified:    jk/native/netscape jk_nsapi_plugin.c
  Log:
  Implement new API calls for shm.
  
  Revision  Changes    Path
  1.18      +5 -2      jakarta-tomcat-connectors/jk/native/netscape/jk_nsapi_plugin.c
  
  Index: jk_nsapi_plugin.c
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/netscape/jk_nsapi_plugin.c,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- jk_nsapi_plugin.c	6 Feb 2005 09:38:00 -0000	1.17
  +++ jk_nsapi_plugin.c	13 Feb 2005 12:28:42 -0000	1.18
  @@ -27,6 +27,7 @@
   #include "jk_pool.h"
   #include "jk_service.h"
   #include "jk_worker.h"
  +#include "jk_shm.h"
   
   #include "nsapi.h"
   
  @@ -212,6 +213,7 @@
       char *worker_prp_file = pblock_findval(JK_WORKER_FILE_TAG, pb);
       char *log_level_str = pblock_findval(JK_LOG_LEVEL_TAG, pb);
       char *log_file = pblock_findval(JK_LOG_FILE_TAG, pb);
  +    char *shm_file = pblock_findval(JK_SHM_FILE_TAG, pb);
   
       int rc = REQ_ABORTED;
       jk_map_t *init_map;
  @@ -231,7 +233,8 @@
                                jk_parse_log_level(log_level_str))) {
           logger = NULL;
       }
  -
  +    
  +    jk_shm_open(shm_file);
       if (jk_map_alloc(&init_map)) {
           if (jk_map_read_properties(init_map, worker_prp_file)) {
               int sleep_cnt;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message