jobs: Refactor event loop handling 53/19853/1
authorJosé Bollo <jose.bollo@iot.bzh>
Sun, 6 Jan 2019 09:34:12 +0000 (10:34 +0100)
committerJosé Bollo <jose.bollo@iot.bzh>
Tue, 5 Feb 2019 08:58:02 +0000 (09:58 +0100)
commitfec8057d9779ea8e45682aa2a97b88d96eccf03c
tree3c393639779a2286b9aadc200baa66ae125bbf30
parentec04e7de2d8068c804acff096e88e81b9cde70e7
jobs: Refactor event loop handling

This improves the arbitration of the single event
loop across threads.

Before introduction of using 'evenfd' there was
several event loop. At the current time, there
is only one. At the end, there will probably
remain only one.

Bug-AGL: SPEC-2089

Change-Id: I1b40a11eee495cccfd3ed7a25ae6889042abd6bb
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/jobs.c
src/sig-monitor.c
src/sig-monitor.h