|
ME 405 Romi
|
This file contains a demonstration program that runs some tasks, an inter-task shared variable, and a queue. More...
Go to the source code of this file.
Namespaces | |
| namespace | basic_tasks |
Functions | |
| basic_tasks.task1_fun (shares) | |
| Task which puts things into a share and a queue. | |
| basic_tasks.task2_fun (shares) | |
| Task which takes things out of a queue and share and displays them. | |
Variables | |
| basic_tasks.share0 = task_share.Share('h', thread_protect=False, name="Share 0") | |
| basic_tasks.q0 | |
| basic_tasks.task1 | |
| basic_tasks.task2 | |
This file contains a demonstration program that runs some tasks, an inter-task shared variable, and a queue.
The tasks don't really do anything; the example just shows how these elements are created and run.
Definition in file basic_tasks.py.