jobs: Fix possible race condition
authorJosé Bollo <jose.bollo@iot.bzh>
Thu, 30 Nov 2017 06:17:31 +0000 (07:17 +0100)
committerJosé Bollo <jose.bollo@iot.bzh>
Thu, 30 Nov 2017 06:33:31 +0000 (07:33 +0100)
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>

No differences found