diff options
author | José Bollo <jose.bollo@iot.bzh> | 2017-11-30 07:17:31 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2017-11-30 07:17:31 +0100 |
commit | b0c0093229eea9aabed1385cc9f4c5a27a7c0a87 (patch) | |
tree | 588dc8d4bd942ffc91aecf1373793535c49d490b /test/monitoring/monitor.js | |
parent | 4cf8ee09b51ff41018fbdace63d71a07adf88a09 (diff) |
jobs: Fix possible race condition
Sending the signal while not being sure that is is
expected could be a race condition. Taking the mutex
avoids it.
In the same time, switch to broadcasting.
Change-Id: I3f43d0d860cccc61ec140ceef223f572f806872c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'test/monitoring/monitor.js')
0 files changed, 0 insertions, 0 deletions