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.h
- Revision:
- 3:0c93bdf73d87
- Parent:
- 2:b12e4c1338db
--- a/Task.h Thu Dec 25 02:32:12 2014 +0000 +++ b/Task.h Thu Dec 25 02:41:24 2014 +0000 @@ -114,7 +114,6 @@ * @return void */ static void setLogLevel(LogLevel lv); - void setLogStream(Stream *sp); static const char *lvSym[]; static Stream *sci; static LogLevel lv;