afm-run: adds helper functions
authorJosé Bollo <jose.bollo@iot.bzh>
Mon, 14 Nov 2016 10:40:58 +0000 (11:40 +0100)
committerJosé Bollo <jose.bollo@iot.bzh>
Mon, 14 Nov 2016 10:40:58 +0000 (11:40 +0100)
commitb6ac54640c918aecaf2f28edf82f8217154b12f3
treea280d44ae51aa5d381e013b8771be5b67ed22be9
parentf78a0ee51dec80ff2b1319aa3ca14ab7e95baa78
afm-run: adds helper functions

Adds function to summarize state of runners:
is_running, is_paused, is_alive, is_dead

Change-Id: I2a46be3c3a2079a5e43cde5f8ed18aab391ea05b
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
src/afm-run.c