Branch: Tag:

2001-03-05

2001-03-05 04:43:10 by Per Hedbor <ph@opera.com>

Now hopefully works without threads

Rev: server/base_server/configuration.pike:1.419

1:   // A vitual server's main configuration   // Copyright © 1996 - 2000, Roxen IS. - constant cvs_version = "$Id: configuration.pike,v 1.418 2001/02/27 02:54:18 per Exp $"; + constant cvs_version = "$Id: configuration.pike,v 1.419 2001/03/05 04:43:10 per Exp $";   #include <module.h>   #include <module_constants.h>   #include <roxen.h>
217:   {    if (mixed err = catch (mod && mod->stop && mod->stop()))    report_error ("While stopping " + desc + ": " + describe_backtrace (err)); -  if (!--num_modules) modules_stopped->signal(); +  if (!--num_modules) + #ifdef THREADS +  modules_stopped->signal() + #endif +  ;   }      void stop (void|int asynch)