jobs: Improve event loop integration
authorJosé Bollo <jose.bollo@iot.bzh>
Fri, 3 Nov 2017 12:04:30 +0000 (13:04 +0100)
committerJosé Bollo <jose.bollo@iot.bzh>
Fri, 3 Nov 2017 12:04:30 +0000 (13:04 +0100)
The previous implmentation was buggy.

This changes make the event loop a thread global
variable. A thread now refuses to run an event loop
if it is in dispatching state.

Change-Id: Ic29792b87c1cae201958feb96d93678f6d37ac8d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>

No differences found