aboutsummaryrefslogtreecommitdiffstats
path: root/src/jobs.h
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-03-30 14:22:03 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-03-30 14:24:01 +0200
commitc710a0da4ebcc126275c42a0387ff85b2557e3ae (patch)
treeef27fc3cb68c93475c37965fbcf0b2f8236370ca /src/jobs.h
parent89c44a872117fb8f64d38cbccf8f36776f2623f6 (diff)
Overall integration of job initialisation
Move the job initialisation from main to jobs. Change-Id: I8f5b54adb62e60592884ff1e3fad9811b5934d47 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/jobs.h')
-rw-r--r--src/jobs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jobs.h b/src/jobs.h
index 0eceef3d..6eb0a83d 100644
--- a/src/jobs.h
+++ b/src/jobs.h
@@ -73,4 +73,5 @@ extern int jobs_init(int allowed_count, int start_count, int waiter_count);
extern int jobs_add_me();
extern void jobs_terminate();
+extern int jobs_enter(int allowed_count, int start_count, int waiter_count, void (*start)());