Branch: Tag:

2001-06-24

2001-06-24 03:55:28 by Per Hedbor <ph@opera.com>

Added support for the linux 'feature' of one signal callback per running thread to async_sig_start

Rev: server/base_server/roxen.pike:1.676

6:   // 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.675 2001/06/24 03:52:16 per Exp $"; + constant cvs_version="$Id: roxen.pike,v 1.676 2001/06/24 03:55:28 per Exp $";      // The argument cache. Used by the image cache.   ArgCache argcache;
788:    f( @args );    return;    } +  if( !async_called ) // Do not queue more than one call at a time. +  {    async_called=time();    call_out( really_call, 0, args );    } -  +  }    };    // call_out is not really useful here, since we probably want to run    // the signal handler immediately, not whenever the backend thread