Commit bc7baa84 authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

  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]


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89326 13f79535-47bb-0310-9956-ffa450edef68
parent 92148b68
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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 */
+2 −2
Original line number Diff line number Diff line
@@ -184,9 +184,9 @@ struct process_score{
};

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