|
ME 405 Romi
|
Functions | |
| task1_fun (shares) | |
| Task which puts things into a share and a queue. | |
| task2_fun (shares) | |
| Task which takes things out of a queue and share and displays them. | |
Variables | |
| share0 = task_share.Share('h', thread_protect=False, name="Share 0") | |
| q0 | |
| task1 | |
| task2 | |
| basic_tasks.task1_fun | ( | shares | ) |
Task which puts things into a share and a queue.
| shares | A list holding the share and queue used by this task |
Definition at line 19 of file basic_tasks.py.
| basic_tasks.task2_fun | ( | shares | ) |
Task which takes things out of a queue and share and displays them.
| shares | A tuple of a share and queue from which this task gets data |
Definition at line 36 of file basic_tasks.py.
| basic_tasks.q0 |
Definition at line 63 of file basic_tasks.py.
| basic_tasks.share0 = task_share.Share('h', thread_protect=False, name="Share 0") |
Definition at line 62 of file basic_tasks.py.
| basic_tasks.task1 |
Definition at line 70 of file basic_tasks.py.
| basic_tasks.task2 |
Definition at line 72 of file basic_tasks.py.