mturk 2004/03/12 11:12:19 Modified: jk/native2/include jk_shm.h Log: Change some struct elements. Added inmem and attached flags. Revision Changes Path 1.10 +15 -4 jakarta-tomcat-connectors/jk/native2/include/jk_shm.h Index: jk_shm.h =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native2/include/jk_shm.h,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- jk_shm.h 24 Feb 2004 08:44:39 -0000 1.9 +++ jk_shm.h 12 Mar 2004 19:12:19 -0000 1.10 @@ -70,8 +70,9 @@ struct jk_shm_head { - struct jk_shm_slot slot; + int structSize; + int slotSize; int slotMaxCount; @@ -82,6 +83,10 @@ /* XXX Need a more generic mechanism */ int lbVer; + + /* Array of used slots set to nonzero if used */ + char slots[1]; + }; @@ -132,11 +137,17 @@ int slotMaxCount; - void *image; - struct jk_shm_head *head; - /* Private data */ + /* Memory image (the data after head)*/ + void *image; + + /* Is the shmem attached or created */ + int attached; + + /* Use the main memory instead */ + int inmem; + /* Private data (apr_shm_t) */ void *privateData; };
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]