• Kamil Trzciński's avatar
    Make Daemon thread-safe · f5b1317a
    Kamil Trzciński authored
    This introduces `#run_thread` method.
    
    The `#start_working` is executed in lock context,
    the same as `#stop_working`. This allows safe
    initialisation of resources before `#run_thread`
    consumes them.
    f5b1317a
puma_sampler.rb 3.34 KB