2003-01-20
2003-01-20 11:23:00 by Martin Stjernholm <mast@lysator.liu.se>
-
6e2e5dfd0d5c8b248e9a60da5e57549f5ebc26f1
(7 lines)
(+5/-2)
[
Show
| Annotate
]
Branch: 5.2
Forgot to check in a trampoline garbage fix in background_run.
Rev: server/base_server/roxen.pike:1.820
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.819 2003/01/16 14:06:22 mast Exp $";
+ constant cvs_version="$Id: roxen.pike,v 1.820 2003/01/20 11:23:00 mast Exp $";
//! @appears roxen
//!
996: Inside #if defined(THREADS)
// stop_handler_threads is running; ignore more work.
return;
- void enqueue()
+ function enqueue = lambda()
{
bg_queue->write (({func, args}));
if (bg_queue->size() == 1)
1008: Inside #if defined(THREADS)
else
enqueue();
+ enqueue = 0; // To avoid garbage.
+
#else
// Can't do much better when we haven't got threads..
call_out (func, delay, @args);