• Matthias Käppler's avatar
    Name all dameon threads · 6e50040b
    Matthias Käppler authored
    It is currently difficult to see what's running in a process
    in e.g. `pstree`, since all threads spawned from a `Daemon`
    are unnamed and appear as `dameon.rb:23`. I therefore added
    a `name` method that has a sane default (snake case class)
    and can be overridden if desired.
    6e50040b
daemon.rb 1.51 KB