Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: JobSchedulerDemo Borsch
Revision 13:6be67ee77861, committed 2017-08-02
- Comitter:
- sgnezdov
- Date:
- Wed Aug 02 19:31:28 2017 +0000
- Parent:
- 12:684ddfc57199
- Child:
- 14:a30cc783ae89
- Commit message:
- added JobList method to be implemented
Changed in this revision
| scheduler.cpp | Show annotated file Show diff for this revision Revisions of this file |
| scheduler.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/scheduler.cpp Fri Jul 14 17:02:29 2017 +0000
+++ b/scheduler.cpp Wed Aug 02 19:31:28 2017 +0000
@@ -105,6 +105,12 @@
}
void Scheduler::JobRemove(JobID jobID) {
+ tr_error("JobRemove is not implemented");
+ }
+
+ LinkedList<Job> Scheduler::JobList() {
+ tr_error("JobList is not implemented");
+ return NULL;
}
static Action jobRunReq(JobRunAT);
--- 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();