You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2001/06/10 02:37:59 UTC
cvs commit: httpd-2.0/include ap_mmn.h scoreboard.h
wrowe 01/06/09 17:37:59
Modified: include ap_mmn.h scoreboard.h
Log:
Was certain I had committed this. Position the scoreboard members such
that the size and members can be derrived by the most stable elements,
followed by derived elements. [Harrie Hazewinkel]
Revision Changes Path
1.12 +2 -1 httpd-2.0/include/ap_mmn.h
Index: ap_mmn.h
===================================================================
RCS file: /home/cvs/httpd-2.0/include/ap_mmn.h,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- ap_mmn.h 2001/02/25 00:43:10 1.11
+++ ap_mmn.h 2001/06/10 00:37:59 1.12
@@ -74,12 +74,13 @@
/*
* 20010224 (2.0.13-dev) MODULE_MAGIC_COOKIE reset to "AP20"
+ * 20010523 (2.0.19-dev) bump for scoreboard structure reordering
*/
#define MODULE_MAGIC_COOKIE 0x41503230UL /* "AP20" */
#ifndef MODULE_MAGIC_NUMBER_MAJOR
-#define MODULE_MAGIC_NUMBER_MAJOR 20010224
+#define MODULE_MAGIC_NUMBER_MAJOR 20010523
#endif
#define MODULE_MAGIC_NUMBER_MINOR 1 /* 0...n */
#define MODULE_MAGIC_NUMBER MODULE_MAGIC_NUMBER_MAJOR /* backward compat */
1.22 +2 -2 httpd-2.0/include/scoreboard.h
Index: scoreboard.h
===================================================================
RCS file: /home/cvs/httpd-2.0/include/scoreboard.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- scoreboard.h 2001/05/15 13:41:27 1.21
+++ scoreboard.h 2001/06/10 00:37:59 1.22
@@ -184,9 +184,9 @@
};
typedef struct {
- worker_score servers[HARD_SERVER_LIMIT][HARD_THREAD_LIMIT];
- process_score parent[HARD_SERVER_LIMIT];
global_score global;
+ process_score parent[HARD_SERVER_LIMIT];
+ worker_score servers[HARD_SERVER_LIMIT][HARD_THREAD_LIMIT];
} scoreboard;
#define KEY_LENGTH 16