Module: xenomai-forge
Branch: next
Commit: 123256b96cadb35daaf96c65c0ca4a6095d0ec28
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=123256b96cadb35daaf96c65c0ca4a6095d0ec28

Author: Philippe Gerum <r...@xenomai.org>
Date:   Mon Apr 14 17:10:25 2014 +0200

copperplate/threadobj: drop recursive locking property

---

 lib/copperplate/threadobj.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/copperplate/threadobj.c b/lib/copperplate/threadobj.c
index d82473d..8261841 100644
--- a/lib/copperplate/threadobj.c
+++ b/lib/copperplate/threadobj.c
@@ -865,7 +865,6 @@ void threadobj_init(struct threadobj *thobj,
         */
 
        __RT(pthread_mutexattr_init(&mattr));
-       __RT(pthread_mutexattr_settype(&mattr, PTHREAD_MUTEX_RECURSIVE));
        __RT(pthread_mutexattr_setprotocol(&mattr, PTHREAD_PRIO_INHERIT));
        __RT(pthread_mutexattr_setpshared(&mattr, mutex_scope_attribute));
        __RT(pthread_mutex_init(&thobj->lock, &mattr));


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to