Jan Kiszka wrote:
> But that is what cond_wait is about: releasing the associated lock to
> whoever gets it - either directly or via lock-stealing. I see no problem
> here. Moreover, lockcnt is never used (and must not!) as an indication
> if a lock is free. It is a pure helper for the lock owner to track
> recursion. And it is also no longer consistent between kernel and user
> side, another reason to allow only the lock owner to play with it.

Right.

-- 
                                                 Gilles.

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to