dgaudet     97/10/26 13:14:17

  Modified:    src/main alloc.h
  Log:
  fix an indentation problem, and add some comments
  
  Revision  Changes    Path
  1.36      +7 -4      apachen/src/main/alloc.h
  
  Index: alloc.h
  ===================================================================
  RCS file: /export/home/cvs/apachen/src/main/alloc.h,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- alloc.h   1997/10/22 20:29:32     1.35
  +++ alloc.h   1997/10/26 21:14:16     1.36
  @@ -248,10 +248,13 @@
    * to call in the child, and an argument to be passed to the function.
    */
   
  -     enum kill_conditions {
  -      kill_never, kill_always, kill_after_timeout, just_wait,
  -      kill_only_once
  -     };
  +enum kill_conditions {
  +    kill_never,                      /* process is never sent any signals */
  +    kill_always,             /* process is sent SIGKILL on pool cleanup */
  +    kill_after_timeout,              /* SIGTERM, wait 3 seconds, SIGKILL */
  +    just_wait,                       /* wait forever for the process to 
complete */
  +    kill_only_once           /* send SIGTERM and then wait */
  +};
   
   API_EXPORT(void) note_subprocess(pool *a, int pid, enum kill_conditions how);
   API_EXPORT(int) spawn_child_err(pool *, int (*)(void *), void *,
  
  
  

Reply via email to