[rtems commit] score: Fix intenal mutex attributes

Sebastian Huber sebh at rtems.org
Wed Mar 16 06:20:26 UTC 2016


Module:    rtems
Branch:    master
Commit:    f2f207cee71f250f9b972a6fed6d2ed1450f279d
Changeset: http://git.rtems.org/rtems/commit/?id=f2f207cee71f250f9b972a6fed6d2ed1450f279d

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Mar 16 07:14:30 2016 +0100

score: Fix intenal mutex attributes

A mutex must be released by its owner.

---

 cpukit/score/src/apimutex.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpukit/score/src/apimutex.c b/cpukit/score/src/apimutex.c
index eb0663d..bb86e47 100644
--- a/cpukit/score/src/apimutex.c
+++ b/cpukit/score/src/apimutex.c
@@ -53,7 +53,7 @@ void _API_Mutex_Allocate(
 
   CORE_mutex_Attributes attr =  {
     CORE_MUTEX_NESTING_ACQUIRES,
-    false,
+    true,
     CORE_MUTEX_DISCIPLINES_PRIORITY_INHERIT,
     0
   };



More information about the vc mailing list