2013-09-20
2013-09-20 16:20:16 by Henrik Grubbström (Grubba) <grubba@grubba.org>
-
562289a1b917961b7fcdc93f2575efe88e8a68cd
(10 lines)
(+9/-1)
[
Show
| Annotate
]
Branch: e4a626923b6509f98d4b09f0b17ed787a3b33a5b
FSGC: Added API for adding Filesystem Garbage Collectors.
Fixes some of [bug 6572 (#6572)].
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.1112 2012/02/18 01:14:34 mast Exp $";
+ constant cvs_version="$Id$";
//! @appears roxen
//!
33:
#endif
inherit "hosts";
inherit "disk_cache";
+ inherit "fsgc";
// inherit "language";
inherit "supports";
inherit "module_support";
520:
destruct(argcache);
destruct(cache);
#ifdef THREADS
+ #if constant(Filesystem.Monitor.basic)
+ stop_fsgarb();
+ #endif
if (mixed err = catch (stop_handler_threads()))
master()->handle_error (err);
#endif /* THREADS */
6017: Inside #if defined(THREADS)
#ifdef THREADS
start_handler_threads();
+ #if constant(Filesystem.Monitor.basic)
+ start_fsgarb();
+ #endif
#endif /* THREADS */
#ifdef TEST_EUID_CHANGE