From e266d134ebf6f7b7722fffe23c3b4ad142001452 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 20 May 2016 15:10:27 +0200 Subject: Replace *_Get_interrupt_disable() with *_Get() Uniformly use *_Get() to get an object by identifier with a lock context. --- cpukit/posix/src/pthreadequal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpukit/posix/src/pthreadequal.c') 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 ); -- cgit v1.2.3