Branch: Tag:

2018-04-04

2018-04-04 08:24:57 by Jonas Walldén <jonasw@roxen.com>

Move thread name handling to Roxen.pmod to make it easier to use from other
pmods. Adjust existing calls and add compat stubs.

495:    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()
509:    if (th) {    meta_fsgc_thread = UNDEFINED;    th->wait(); -  name_thread(th, UNDEFINED); +  Roxen.name_thread(th, UNDEFINED);    }   }      #endif /* Filesystem.Monitor.basic */