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/pthreaddetach.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/posix/src/pthreaddetach.c') diff --git a/cpukit/posix/src/pthreaddetach.c b/cpukit/posix/src/pthreaddetach.c index fe2a590252..ee69a9a718 100644 --- a/cpukit/posix/src/pthreaddetach.c +++ b/cpukit/posix/src/pthreaddetach.c @@ -34,7 +34,7 @@ int pthread_detach( pthread_t thread ) ISR_lock_Context lock_context; Per_CPU_Control *cpu_self; - the_thread = _Thread_Get_interrupt_disable( thread, &lock_context ); + the_thread = _Thread_Get( thread, &lock_context ); if ( the_thread == NULL ) { return ESRCH; -- cgit v1.2.3