job scheduler works with run once and run periodic schedules. Stop logic is not fully thought through.
Dependents: JobSchedulerDemo Borsch
Diff: scheduler.h
- Revision:
- 13:6be67ee77861
- Parent:
- 7:98c8b2eabea3
- Child:
- 14:a30cc783ae89
--- a/scheduler.h Fri Jul 14 17:02:29 2017 +0000 +++ b/scheduler.h Wed Aug 02 19:31:28 2017 +0000 @@ -140,6 +140,7 @@ /** JobAdd adds job of typeID and returns ID of added job. */ Response<JobID> JobAdd(JobTypeID typeID, ISchedule *schedule, IJobData *data); void JobRemove(JobID jobID); + LinkedList<Job> JobList(); private: static void updateAdapter(void *target); void updateHandler();