ME 405 Romi
Loading...
Searching...
No Matches
task_share Namespace Reference

Classes

class  BaseShare
 Base class for queues and shares which exchange data between tasks. More...
class  Queue
 A queue which is used to transfer data from one task to another. More...
class  Share
 An item which holds data to be shared between tasks. More...

Functions

 show_all ()
 Create a string holding a diagnostic printout showing the status of each queue and share in the system.

Variables

list share_list = []
 This is a system-wide list of all the queues and shared variables.
dict type_code_strings
 This dictionary allows readable printouts of queue and share data types.

Function Documentation

◆ show_all()

task_share.show_all ( )

Create a string holding a diagnostic printout showing the status of each queue and share in the system.

Returns
A string containing information about each queue and share

Definition at line 46 of file task_share.py.

Variable Documentation

◆ share_list

list task_share.share_list = []

This is a system-wide list of all the queues and shared variables.

It is used to create diagnostic printouts.

Definition at line 32 of file task_share.py.

◆ type_code_strings

dict task_share.type_code_strings
Initial value:
1= {'b' : "int8", 'B' : "uint8",
2 'h' : "int16", 'H' : "uint16",
3 'i' : "int(?)", 'I' : "uint(?)",
4 'l' : "int32", 'L' : "uint32",
5 'q' : "int64", 'Q' : "uint64",
6 'f' : "float", 'd' : "double"}

This dictionary allows readable printouts of queue and share data types.

Definition at line 35 of file task_share.py.