Roxen.git
/
server
/
base_server
/
fsgc.pike
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/base_server/fsgc.pike:488:
{ if ((path == "") || (path == "/") || (max_age <= 0)) return 0; string id = modid + "\0" + path + "\0" + gethrtime(); FSGarb g = FSGarb(modid, path, max_age, max_size, max_files, quarantine); fsgarbs[id] = g; GC_WERR("FSGC: Register garb on %O ==> id: %O\n", path, id); return FSGarbWrapper(id); }
-
void name_thread(object thread, string name);
-
+
protected void start_fsgarb() { meta_fsgc_thread = Thread.Thread(meta_fsgc);
-
name_thread(meta_fsgc_thread, "Filesystem GC");
+
Roxen.
name_thread(meta_fsgc_thread, "Filesystem GC");
} protected void stop_fsgarb() { Thread.Thread th = meta_fsgc_thread; if (th) { meta_fsgc_thread = UNDEFINED; th->wait();
-
name_thread(th, UNDEFINED);
+
Roxen.
name_thread(th, UNDEFINED);
} } #endif /* Filesystem.Monitor.basic */