Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:1:   // This file is part of Roxen WebServer.   // Copyright © 1996 - 2004, Roxen IS.   //   // The Roxen WebServer main program.   //   // Per Hedbor, Henrik Grubbström, Pontus Hagland, David Hedbor and others.   // ABS and suicide systems contributed freely by Francesco Chemolli    - constant cvs_version="$Id: roxen.pike,v 1.910 2005/11/30 10:48:53 grubba Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.911 2005/11/30 18:22:26 grubba Exp $";      //! @appears roxen   //!   //! The Roxen WebServer main program.      // The argument cache. Used by the image cache.   ArgCache argcache;      // Some headerfiles   #define IN_ROXEN
Roxen.git/server/base_server/roxen.pike:3728:    static string lq, ulq;      #ifdef THREADS    Thread.Mutex mutex = Thread.Mutex();    // Allow recursive locks, since it's normal here.   # define LOCK() mixed __; catch( __ = mutex->lock() )   #else   # define LOCK()   #endif    -  static mapping (string:mixed) cache = ([ ]); +  static mapping(string|int:mixed) cache = ([ ]);       static void setup_table()    {    if(catch(QUERY("SELECT md5 FROM "+name+" WHERE id=0")))    {    master()->resolv("DBManager.is_module_table")    ( 0, "local", name,    "The argument cache, used to map between "    "a short unique string and an argument "    "mapping" );