RTEMS 6.1-rc5
Loading...
Searching...
No Matches
Files

This group contains the SMP lock implementation. More...

Files

file  smplock.h
 This header file provides the main interfaces of the SMP Locks.
 
file  smplockmcs.h
 This header file provides the interfaces of the SMP Locks related to MCS locks.
 
file  smplockseq.h
 This header file provides the interfaces of the SMP Locks related to sequence locks.
 
file  smplockstats.h
 This header file provides the interfaces of the SMP Locks related to lock statistics.
 
file  smplockticket.h
 This header file provides the interfaces of the SMP Locks related to ticket locks.
 
file  profilingsmplock.c
 This source file contains the implementation of _SMP_lock_Stats_destroy(), _SMP_lock_Stats_register_or_max_section_time(), _SMP_lock_Stats_iteration_start(), _SMP_lock_Stats_iteration_next(), and _SMP_lock_Stats_iteration_stop().
 
file  smplock.c
 This source file contains the implementation of _SMP_lock_Initialize(), _SMP_lock_Destroy(), _SMP_lock_Acquire(), _SMP_lock_Release(), _SMP_lock_ISR_disable_and_acquire(), _SMP_lock_Release_and_ISR_enable(), and _SMP_lock_Is_owner().
 

Detailed Description

This group contains the SMP lock implementation.

The SMP lock provides mutual exclusion in 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.