RTEMS
Classes | Macros | Functions
smplockticket.h File Reference

SMP Lock API. More...

#include <rtems/score/cpuopts.h>
#include <rtems/score/atomic.h>
#include <rtems/score/smplockstats.h>

Go to the source code of this file.

Classes

struct  SMP_ticket_lock_Control
 SMP ticket lock control. More...
 

Macros

#define SMP_TICKET_LOCK_INITIALIZER
 SMP ticket lock control initializer for static initialization. More...
 
#define _SMP_ticket_lock_Acquire(lock, stats, stats_context)   _SMP_ticket_lock_Do_acquire( lock )
 Acquires an SMP ticket lock. More...
 
#define _SMP_ticket_lock_Release(lock, stats_context)   _SMP_ticket_lock_Do_release( lock )
 Releases an SMP ticket lock. More...
 

Functions

static void _SMP_ticket_lock_Initialize (SMP_ticket_lock_Control *lock)
 Initializes the SMP ticket lock. More...
 
static void _SMP_ticket_lock_Destroy (SMP_ticket_lock_Control *lock)
 Destroys the SMP ticket lock. More...
 
static void _SMP_ticket_lock_Do_acquire (SMP_ticket_lock_Control *lock)
 Acquires the SMP ticket lock. More...
 
static void _SMP_ticket_lock_Do_release (SMP_ticket_lock_Control *lock)
 Releases the SMP ticket lock. More...
 

Detailed Description

SMP Lock API.

Definition in file smplockticket.h.