You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by co...@apache.org on 2002/01/12 05:44:32 UTC

cvs commit: jakarta-tomcat-connectors/jk/native2/include jk_workerEnv.h

costin      02/01/11 20:44:32

  Modified:    jk/native2/include jk_workerEnv.h
  Log:
  Pointer to the vm. ( not sure if this is the best place, or if it should
  be a singleton - but different components will use the vm ).
  
  Revision  Changes    Path
  1.8       +8 -1      jakarta-tomcat-connectors/jk/native2/include/jk_workerEnv.h
  
  Index: jk_workerEnv.h
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/include/jk_workerEnv.h,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- jk_workerEnv.h	16 Dec 2001 23:17:23 -0000	1.7
  +++ jk_workerEnv.h	12 Jan 2002 04:44:32 -0000	1.8
  @@ -58,7 +58,7 @@
   /***************************************************************************
    * Description: Workers controller header file                             *
    * Author:      Gal Shachor <sh...@il.ibm.com>                           * 
  - * Version:     $Revision: 1.7 $                                           *
  + * Version:     $Revision: 1.8 $                                           *
    ***************************************************************************/
   
   #ifndef JK_WORKERENV_H
  @@ -72,6 +72,7 @@
   #include "jk_webapp.h"
   #include "jk_handler.h"
   #include "jk_service.h"
  +#include "jk_vm.h"
   
   #ifdef __cplusplus
   extern "C" {
  @@ -196,6 +197,12 @@
        */
       struct jk_handler **handlerTable;
       int lastMessageId;
  +
  +    /* The vm - we support a single instance per process
  +     * ( i.e can't have both jdk1.1 and jdk1.2 at the same time,
  +     *  or 2 instances of the same vm. )
  +     */
  +    struct jk_vm *vm;
       
       /** Private data, associated with the 'real' server
        *  server_rec * in apache
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>