tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native2/include jk_worker.h
Date Thu, 25 Apr 2002 18:43:29 GMT
costin      02/04/25 11:43:29

  Modified:    jk/native2/include jk_worker.h
  Log:
  Added a 'version' and a critical section for updates.
  
  The workers are updated by lb/shm when a change is detected in the scoreboard.
  That need only in-process thread synchronization.
  
  ( we could use apr - but the CS is working fine for now )
  
  Revision  Changes    Path
  1.16      +8 -1      jakarta-tomcat-connectors/jk/native2/include/jk_worker.h
  
  Index: jk_worker.h
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/include/jk_worker.h,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- jk_worker.h	15 Apr 2002 23:46:01 -0000	1.15
  +++ jk_worker.h	25 Apr 2002 18:43:29 -0000	1.16
  @@ -58,7 +58,7 @@
   /***************************************************************************
    * Description: Workers controller header file                             *
    * Author:      Gal Shachor <shachor@il.ibm.com>                           * 
  - * Version:     $Revision: 1.15 $                                           *
  + * Version:     $Revision: 1.16 $                                           *
    ***************************************************************************/
   
   #ifndef JK_WORKER_H
  @@ -179,6 +179,13 @@
        *  which this worker is in error state and can't perform.
        */
       struct jk_exception *lastError;
  +
  +    /* 'Version' or generation. Used to update the workers dynamically
  +       at runtime */
  +    int     ver;
  +    /* Only one thread can update the config
  +     */
  +    JK_CRIT_SEC cs;
   
       /** For load balancing workers
        */
  
  
  

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


Mime
View raw message