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.
Revision 5:79cbf6d8b5f0, committed 2017-07-11
- Comitter:
- sgnezdov
- Date:
- Tue Jul 11 22:35:51 2017 +0000
- Parent:
- 4:c40e9bb559a5
- Child:
- 6:b0bca03d9f3a
- Commit message:
- increased amount of time to run
Changed in this revision
| JobScheduler.lib | Show annotated file Show diff for this revision Revisions of this file |
| source/main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/JobScheduler.lib Tue Jul 11 22:05:27 2017 +0000 +++ b/JobScheduler.lib Tue Jul 11 22:35:51 2017 +0000 @@ -1,1 +1,1 @@ -JobScheduler#78bcd5a675e1 +JobScheduler#d8f69ac330f2
--- a/source/main.cpp Tue Jul 11 22:05:27 2017 +0000
+++ b/source/main.cpp Tue Jul 11 22:35:51 2017 +0000
@@ -21,7 +21,7 @@
time_t nowSecs = time(NULL);
JobScheduler::Response<JobScheduler::JobID> res = scheduler.JobAdd(1, new JobScheduler::RunOnceSchedule(nowSecs + 5), NULL);
printf("job add response error: %d, jobID: %d\n", res.error, res.data);
- wait(5);
+ wait(10);
scheduler.Stop();
scheduler.WaitToStop();
}