Make Daemon thread-safe
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.
Showing
Please register or sign in to comment