RTEMS  5.0.0
Files
SMP Locks

The SMP lock provides mutual exclusion for SMP systems at the lowest level. More...

Files

file  smplock.h
 SMP Lock API.
 
file  smplockmcs.h
 SMP Lock API.
 
file  smplockseq.h
 SMP Lock API.
 
file  smplockstats.h
 SMP Lock API.
 
file  smplockticket.h
 SMP Lock API.
 

Detailed Description

The SMP lock provides mutual exclusion for SMP systems at the lowest level.

The SMP lock is implemented as a ticket lock. This provides fairness in case of concurrent lock attempts.

This SMP lock API uses a local context for acquire and release pairs. Such a context may be used to implement for example the Mellor-Crummey and Scott (MCS) locks in the future.