You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ni...@apache.org on 2006/05/07 23:01:49 UTC

svn commit: r404849 - /httpd/httpd/trunk/include/scoreboard.h

Author: niq
Date: Sun May  7 14:01:48 2006
New Revision: 404849

URL: http://svn.apache.org/viewcvs?rev=404849&view=rev
Log:
Tidy up scoreboard.h (Chris Darroch)

Modified:
    httpd/httpd/trunk/include/scoreboard.h

Modified: httpd/httpd/trunk/include/scoreboard.h
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/include/scoreboard.h?rev=404849&r1=404848&r2=404849&view=diff
==============================================================================
--- httpd/httpd/trunk/include/scoreboard.h (original)
+++ httpd/httpd/trunk/include/scoreboard.h Sun May  7 14:01:48 2006
@@ -87,18 +87,8 @@
     SB_SHARED = 2
 } ap_scoreboard_e;
 
-#define SB_WORKING  0  /* The server is busy and the child is useful. */
-#define SB_IDLE_DIE 1  /* The server is idle and the child is superfluous. */
-                       /*   The child should check for this and exit gracefully. */
-
 /* stuff which is worker specific */
-/***********************WARNING***************************************/
-/* These are things that are used by mod_status. Do not put anything */
-/*   in here that you cannot live without. This structure will not   */
-/*   be available if mod_status is not loaded.                       */
-/*********************************************************************/
 typedef struct worker_score worker_score;
-
 struct worker_score {
     int thread_num;
 #if APR_HAS_THREADS
@@ -142,7 +132,7 @@
 
 /* stuff which the parent generally writes and the children rarely read */
 typedef struct process_score process_score;
-struct process_score{
+struct process_score {
     pid_t pid;
     ap_generation_t generation;	/* generation of this child */
     ap_scoreboard_e sb_type;
@@ -153,7 +143,7 @@
 
 /* stuff which is lb specific */
 typedef struct lb_score lb_score;
-struct lb_score{
+struct lb_score {
     /* TODO: make a real stuct from this */
     unsigned char data[1024];
 };



Re: svn commit: r404849 - /httpd/httpd/trunk/include/scoreboard.h

Posted by Jeff Trawick <tr...@gmail.com>.
On 5/7/06, niq@apache.org <ni...@apache.org> wrote:
> Author: niq
> Date: Sun May  7 14:01:48 2006
> New Revision: 404849
>
> URL: http://svn.apache.org/viewcvs?rev=404849&view=rev
> Log:
> Tidy up scoreboard.h (Chris Darroch)

cool; forgot to +1 this and a couple of others