RTEMS  5.1
Functions
pspinlock.c File Reference

Wait at a Spinlock. More...

#include <rtems/posix/spinlockimpl.h>

Functions

 RTEMS_STATIC_ASSERT (offsetof(POSIX_Spinlock_Control, reserved[0])==offsetof(pthread_spinlock_t, _Lock._next_ticket), POSIX_SPINLOCK_T_LOCK_NEXT_TICKET)
 
 RTEMS_STATIC_ASSERT (offsetof(POSIX_Spinlock_Control, reserved[1])==offsetof(pthread_spinlock_t, _Lock._now_serving), POSIX_SPINLOCK_T_LOCK_NOW_SERVING)
 
 RTEMS_STATIC_ASSERT (offsetof(POSIX_Spinlock_Control, interrupt_state)==offsetof(pthread_spinlock_t, _interrupt_state), POSIX_SPINLOCK_T_INTERRUPT_STATE)
 
 RTEMS_STATIC_ASSERT (sizeof(POSIX_Spinlock_Control)==sizeof(pthread_spinlock_t), POSIX_SPINLOCK_T_SIZE)
 
int pthread_spin_lock (pthread_spinlock_t *spinlock)
 
int pthread_spin_trylock (pthread_spinlock_t *spinlock) RTEMS_ALIAS(pthread_spin_lock)
 

Detailed Description

Wait at a Spinlock.