httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bnicho...@apache.org
Subject cvs commit: httpd-2.0/server/mpm/netware mpm_netware.c
Date Mon, 15 Apr 2002 19:24:00 GMT
bnicholes    02/04/15 12:24:00

  Modified:    server/mpm/netware mpm_netware.c
  Log:
  Add some additional shutdown synchronization so that we don't get the OS
  message to force the module to unload.
  
  Revision  Changes    Path
  1.48      +4 -4      httpd-2.0/server/mpm/netware/mpm_netware.c
  
  Index: mpm_netware.c
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/server/mpm/netware/mpm_netware.c,v
  retrieving revision 1.47
  retrieving revision 1.48
  diff -u -r1.47 -r1.48
  --- mpm_netware.c	12 Apr 2002 22:11:44 -0000	1.47
  +++ mpm_netware.c	15 Apr 2002 19:23:59 -0000	1.48
  @@ -276,6 +276,7 @@
   {
       RemoveConsoleHandler();
       wait_to_finish = 0;
  +    NXThreadYield();
   }
   
   static void sig_term(int sig)
  @@ -319,12 +320,11 @@
   {
       shutdown_pending = 1;
   
  -/* Hold off on this change for now */
  -/*    while (wait_to_finish) {
  +    while (wait_to_finish) {
           NXThreadYield();
       }
  -*/
  -    return 1;
  +
  +    return 0;
   }
   
   /*****************************************************************
  
  
  

Mime
View raw message