RTEMS CPU Kit with SuperCore  4.10.99.0
Data Fields
Semaphore_Control Struct Reference

The following defines the control block used to manage each semaphore. More...

#include <sem.h>

Collaboration diagram for Semaphore_Control:
Collaboration graph
[legend]

Data Fields

Objects_Control Object
 This field is the object management portion of a Semaphore instance.
rtems_attribute attribute_set
 This is the Classic API attribute provided to the create directive.
union {
   CORE_mutex_Control   mutex
 This is the SuperCore Mutex instance associated with this Classic API Semaphore instance.
   CORE_semaphore_Control   semaphore
 This is the SuperCore Semaphore instance associated with this Classic API Semaphore instance.
Core_control
 This contains the memory associated with the SuperCore Semaphore or Mutex instance that provides the primary functionality of each Classic API Semaphore instance.

Detailed Description

The following defines the control block used to manage each semaphore.


Field Documentation

This is the Classic API attribute provided to the create directive.

It is translated into behavioral attributes on the SuperCore Semaphore or Mutex instance.

This contains the memory associated with the SuperCore Semaphore or Mutex instance that provides the primary functionality of each Classic API Semaphore instance.

The structure used is dependent on the attributes specified by the user on the create directive.

Note:
Only one of these has meaning in a particular Classic API Semaphore instance.

This field is the object management portion of a Semaphore instance.

Referenced by _Semaphore_Free().


The documentation for this struct was generated from the following file: