Markus Mäkelä 208949f1cb
Synchronize the worker thread with the starting thread
This guarantees that the caller of the start function will know whether
the worker is running by looking at its state.

This will prevent multiple successive stop calls to a worker which
happened when the monitors were altered via the REST API.
2018-08-17 18:09:51 +03:00
..
2018-08-16 09:21:06 +03:00
2018-06-25 10:07:52 +03:00
2017-01-16 10:56:33 +02:00