Rework the jobs
authorJosé Bollo <jose.bollo@iot.bzh>
Mon, 3 Apr 2017 15:22:39 +0000 (17:22 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Mon, 3 Apr 2017 15:22:39 +0000 (17:22 +0200)
commite3a5ff981c25dcb609fe8cc5396a50b81138ee63
tree7dc29eb4b5ea7d87826eee57f4fe92cf4de479de
parent7087ad1b81b55fb2c1c14e7d9cbb49c0bf75e28e
Rework the jobs

Enforce starting jobs with acquiring the
calling thread.

Removes invoke methods in favour of
enter/leave synchronisation.

Change-Id: I7086f7f53b919b43ddafd2355316abc0d3516f49
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/jobs.c
src/jobs.h
src/main.c
src/tests/test-thread.c
src/tests/test-thread.sh