ME 405 Portfolio
|
This file contains classes which allow tasks to share data without the risk of data corruption by interrupts. More...
Classes | |
class | task_share.BaseShare |
Base class for queues and shares which exchange data between tasks. More... | |
class | task_share.Queue |
A queue which is used to transfer data from one task to another. More... | |
class | task_share.Share |
An item which holds data to be shared between tasks. More... | |
Functions | |
def | task_share.show_all () |
Create a string holding a diagnostic printout showing the status of each queue and share in the system. More... | |
Variables | |
list | task_share.share_list = [] |
This is a system-wide list of all the queues and shared variables. More... | |
dictionary | task_share.type_code_strings |
This dictionary allows readable printouts of queue and share data types. More... | |
This file contains classes which allow tasks to share data without the risk of data corruption by interrupts.
It is intended for educational use only, but its use is not limited thereto. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
def task_share.show_all | ( | ) |
Create a string holding a diagnostic printout showing the status of each queue and share in the system.
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.
dictionary task_share.type_code_strings |
This dictionary allows readable printouts of queue and share data types.