diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/posix/src/pthreadequal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/posix/src/pthreadequal.c b/cpukit/posix/src/pthreadequal.c index 4ee5040c14..54b15d2e55 100644 --- a/cpukit/posix/src/pthreadequal.c +++ b/cpukit/posix/src/pthreadequal.c @@ -45,8 +45,8 @@ int pthread_equal( Thread_Control *thread_1; Thread_Control *thread_2; - thread_1 = _Thread_Get_interrupt_disable( t1, &lock_context_1 ); - thread_2 = _Thread_Get_interrupt_disable( t2, &lock_context_2 ); + thread_1 = _Thread_Get( t1, &lock_context_1 ); + thread_2 = _Thread_Get( t2, &lock_context_2 ); _ISR_lock_ISR_enable( &lock_context_2 ); _ISR_lock_ISR_enable( &lock_context_1 ); |