ME 405 Romi
Loading...
Searching...
No Matches
basic_tasks.py File Reference

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

Detailed Description

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.

Author
JR Ridgely
Date
2021-Dec-15 JRR Created from the remains of previous example

Definition in file basic_tasks.py.