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.
TaskManager.cpp@0:e381c3adaa04, 2011-01-14 (annotated)
- Committer:
- Phlaphead
- Date:
- Fri Jan 14 19:51:13 2011 +0000
- Revision:
- 0:e381c3adaa04
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| Phlaphead | 0:e381c3adaa04 | 1 | |
| Phlaphead | 0:e381c3adaa04 | 2 | #include "TaskManager.h" |
| Phlaphead | 0:e381c3adaa04 | 3 | |
| Phlaphead | 0:e381c3adaa04 | 4 | TaskManager::TaskManager() |
| Phlaphead | 0:e381c3adaa04 | 5 | { |
| Phlaphead | 0:e381c3adaa04 | 6 | } |
| Phlaphead | 0:e381c3adaa04 | 7 | |
| Phlaphead | 0:e381c3adaa04 | 8 | |
| Phlaphead | 0:e381c3adaa04 | 9 | void TaskManager::startTask(Task* _task) |
| Phlaphead | 0:e381c3adaa04 | 10 | { |
| Phlaphead | 0:e381c3adaa04 | 11 | tasks.push_back(_task); |
| Phlaphead | 0:e381c3adaa04 | 12 | _task->start(); |
| Phlaphead | 0:e381c3adaa04 | 13 | } |