Module: xenomai-forge Branch: master Commit: c1e591b68d9819658737b1cf5530c3d2e5f3c942 URL: http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=c1e591b68d9819658737b1cf5530c3d2e5f3c942
Author: Philippe Gerum <[email protected]> Date: Sat Feb 15 15:50:08 2014 +0100 copperplate/syncobj: allow entering monitor from any thread There is no reason to restrict monitor entry to copperplate threads only. No syncobj-related action has to depend on a threadobj context, including the finalizer. --- lib/copperplate/syncobj.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/copperplate/syncobj.c b/lib/copperplate/syncobj.c index 82b00bf..00b2a61 100644 --- a/lib/copperplate/syncobj.c +++ b/lib/copperplate/syncobj.c @@ -229,9 +229,6 @@ int syncobj_lock(struct syncobj *sobj, struct syncstate *syns) { int ret, oldstate; - /* Allow entry from copperplate's regular or IRQ threads. */ - assert(__threadobj_get_current() != NULL); - /* * This magic prevents concurrent locking while a deletion is * in progress, waiting for the release count to drop to zero. _______________________________________________ Xenomai-git mailing list [email protected] http://www.xenomai.org/mailman/listinfo/xenomai-git
