RTEMS
Public Attributes | List of all members
SMP_MCS_lock_Control Struct Reference

SMP Mellor-Crummey and Scott (MCS) lock control. More...

#include <smplockmcs.h>

Public Attributes

union {
   Atomic_Uintptr   atomic
 The queue tail context as an atomic unsigned integer pointer value.
 
   struct SMP_MCS_lock_Context *   normal
 The queue tail context as a normal pointer. More...
 
queue
 The queue tail context. More...
 

Detailed Description

SMP Mellor-Crummey and Scott (MCS) lock control.

Definition at line 78 of file smplockmcs.h.

Member Data Documentation

◆ normal

struct SMP_MCS_lock_Context* SMP_MCS_lock_Control::normal

The queue tail context as a normal pointer.

Only provided for debugging purposes.

Definition at line 97 of file smplockmcs.h.

◆ queue

union { ... } SMP_MCS_lock_Control::queue

The queue tail context.

The lock is free, in case this field is zero, otherwise it is locked by the owner of the queue head.


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