mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-02 02:17:46 +08:00
@@ -98,8 +98,8 @@ int pthread_spin_lock( pthread_spinlock_t *spinlock )
|
||||
&cpu_self->Lock_stats_context
|
||||
);
|
||||
_POSIX_Spinlock_Owner = _SMP_Get_current_processor();
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
if ( ++_POSIX_Spinlock_Nest_level == 1) {
|
||||
the_spinlock->interrupt_state = level;
|
||||
|
||||
Reference in New Issue
Block a user