job scheduler works with run once and run periodic schedules. Stop logic is not fully thought through.

Dependencies:   LinkedList

Dependents:   JobSchedulerDemo Borsch

Files at this revision

API Documentation at this revision

Comitter:
sgnezdov
Date:
Fri Aug 04 00:20:06 2017 +0000
Parent:
18:8be206ad1eb4
Commit message:
disabled some trace of core modules, because it is no longer necessary

Changed in this revision

jobService.cpp Show annotated file Show diff for this revision Revisions of this file
scheduler.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 8be206ad1eb4 -r 965c8721cc8a jobService.cpp
--- a/jobService.cpp	Thu Aug 03 22:44:41 2017 +0000
+++ b/jobService.cpp	Fri Aug 04 00:20:06 2017 +0000
@@ -1,5 +1,7 @@
 #include "jobService.h"
 
+// silence scheduler tracing, must be before mbed_trace.h
+#define MBED_TRACE_MAX_LEVEL 0
 #include "mbed-trace/mbed_trace.h"
 #define TRACE_GROUP  "scjs"
 
diff -r 8be206ad1eb4 -r 965c8721cc8a scheduler.cpp
--- a/scheduler.cpp	Thu Aug 03 22:44:41 2017 +0000
+++ b/scheduler.cpp	Fri Aug 04 00:20:06 2017 +0000
@@ -1,5 +1,7 @@
 #include "scheduler.h"
 
+// silence scheduler tracing, must be before mbed_trace.h
+#define MBED_TRACE_MAX_LEVEL 0
 #include "mbed-trace/mbed_trace.h"
 #define TRACE_GROUP  "schd"