28 int pthread_spin_unlock( pthread_spinlock_t *lock )
32 #if defined(RTEMS_SMP) && defined(RTEMS_PROFILING) 33 SMP_lock_Stats unused_stats;
34 SMP_lock_Stats_context unused_context;
37 the_spinlock = _POSIX_Spinlock_Get( lock );
38 level = the_spinlock->interrupt_state;
39 #if defined(RTEMS_SMP) 40 #if defined(RTEMS_PROFILING) 42 unused_stats.total_section_time = 0;
43 unused_stats.max_section_time = 0;
44 unused_context.stats = &unused_stats;
45 unused_context.acquire_instant = 0;
Inlined Routines from the POSIX Spinlock Manager.
#define _SMP_ticket_lock_Release(lock, stats_context)
Releases an SMP ticket lock.
#define _ISR_Local_enable(_level)
Enables interrupts on this processor.