Roxen.git / server / base_server / global_variables.pike

version» Context lines:

Roxen.git/server/base_server/global_variables.pike:1: +    // This file is part of Roxen WebServer.   // Copyright © 1996 - 2004, Roxen IS. - // $Id: global_variables.pike,v 1.100 2007/06/12 12:13:21 erikd Exp $ + // $Id: global_variables.pike,v 1.101 2007/08/06 08:28:01 noring Exp $      // #pragma strict_types   #define DEFVAR mixed...:object   #define BDEFVAR mixed...:object      #define IN_ROXEN   #include <module.h>   inherit "read_config";   inherit "basic_defvar";   #include <version.h>
Roxen.git/server/base_server/global_variables.pike:532:      <p>Note that this method normally isn't necessary in unix-like   environments; there you can just send a SIGQUIT signal to the pike   process to get a thread dump.</p>      <p>Enabling this creates a dedicated thread.</p>"));    v->set_changed_callback (cdt_changed);    defvar ("dump_threads_by_file", v);      #ifdef THREADS -  defvar("numthreads", 5, LOCALE(150, "Number of threads to run"), +  defvar("numthreads", 15, LOCALE(150, "Number of threads to run"),    TYPE_INT,    LOCALE(151, "The number of simultaneous threads Roxen will use.\n"    "<p>Please note that even if this is one, Roxen will still "    "be able to serve multiple requests, using a select loop based "    "system.\n"    "<i>This is quite useful if you have more than one CPU in "    "your machine, or if you have a lot of slow NFS accesses.</i></p>"    "<p>Do not increase this over 20 unless you have a "    "very good reason to do so.</p>"));   #endif // THREADS