Task class is an implementation of mail driven thread, for it makes to use Thread and Mail classes in mbed-rtos library easier.
Dependents: mail_driven_task_example
It makes simple to implement asynchronous processing between threads. Task class is an implementation of mail driven thread, for it makes to use Thread and Mail classes in mbed-rtos library easier.
The example of the use of this library, please refer to the following program.
Import programmail_driven_task_example
Simple example of the use of mail_driven_task library
Diff: Task.cpp
- Revision:
- 3:0c93bdf73d87
- Parent:
- 2:b12e4c1338db
--- a/Task.cpp Thu Dec 25 02:32:12 2014 +0000 +++ b/Task.cpp Thu Dec 25 02:41:24 2014 +0000 @@ -85,9 +85,3 @@ { Logger::lv = lv; } - - -void Task::Logger::setLogStream(Stream *sp) -{ - this->sp = sp; -}