From 0b713f8940d90b480f8cd36663c11aa0688587d8 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Mon, 30 May 2016 06:59:55 +0200 Subject: score: Rework CORE inherit priority mutex Provide dedicated seize and surrender methods for inherit priority mutexes. This eliminates CORE_mutex_Attributes. --- cpukit/posix/src/mutexunlock.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cpukit/posix/src/mutexunlock.c') diff --git a/cpukit/posix/src/mutexunlock.c b/cpukit/posix/src/mutexunlock.c index 5404cef187..3144314e5c 100644 --- a/cpukit/posix/src/mutexunlock.c +++ b/cpukit/posix/src/mutexunlock.c @@ -62,8 +62,9 @@ int pthread_mutex_unlock( break; default: _Assert( the_mutex->protocol == POSIX_MUTEX_PRIORITY_INHERIT ); - status = _CORE_mutex_Surrender( - &the_mutex->Mutex.Recursive.Mutex, + status = _CORE_recursive_mutex_Surrender( + &the_mutex->Mutex.Recursive, + executing, &queue_context ); break; -- cgit v1.2.3