Philippe,

On Thu, Jul 11, 2019 at 4:30 PM Philippe Gerum <r...@xenomai.org> wrote:
> > If I have a mutex m1 and a misbehaving RT_TASK rt1 which exits right after
> > acquiring mutex m1, what is the recommended way to get the lock back into a
> > well defined state?
> >
>
> Unfortunately, I see no option other than leaking the orphaned mutex and
> re-creating a new one on the same descriptor with rt_mutex_create().

Will it leak on the kernel side or "just" in the userspace process?
As long the application does not badly deadlock I think we can recover somehow.

-- 
Thanks,
//richard

Reply via email to