RTEMS
Functions
pspinlock.c File Reference

Wait at a Spinlock. More...

#include <rtems/posix/spinlockimpl.h>

Go to the source code of this file.

Functions

 RTEMS_STATIC_ASSERT (offsetof(POSIX_Spinlock_Control, Lock.next_ticket)==offsetof(pthread_spinlock_t, _Lock._next_ticket), POSIX_SPINLOCK_T_LOCK_NEXT_TICKET)
 
 RTEMS_STATIC_ASSERT (offsetof(POSIX_Spinlock_Control, Lock.now_serving)==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.

Definition in file pspinlock.c.