* [Xenomai-help] Which thread holds a Mutex?
@ 2007-04-04 8:30 Stephan Zimmermann
2007-04-04 8:50 ` Philippe Gerum
0 siblings, 1 reply; 3+ messages in thread
From: Stephan Zimmermann @ 2007-04-04 8:30 UTC (permalink / raw)
To: xenomai
Hi,
I see a deadlock occur every now and than in my app. Is there a way to
tell which thread is actually holding a lock from a normal userspace
app? rt_mutex_inquire() only tells me that it is locked, but not who is
holding it.
Tia, Stephan
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai-help] Which thread holds a Mutex?
2007-04-04 8:30 [Xenomai-help] Which thread holds a Mutex? Stephan Zimmermann
@ 2007-04-04 8:50 ` Philippe Gerum
2007-04-04 8:59 ` Stephan Zimmermann
0 siblings, 1 reply; 3+ messages in thread
From: Philippe Gerum @ 2007-04-04 8:50 UTC (permalink / raw)
To: Stephan Zimmermann; +Cc: xenomai
On Wed, 2007-04-04 at 10:30 +0200, Stephan Zimmermann wrote:
> Hi,
> I see a deadlock occur every now and than in my app. Is there a way to
> tell which thread is actually holding a lock from a normal userspace
> app? rt_mutex_inquire() only tells me that it is locked, but not who is
> holding it.
>
/proc/xenomai/registry/native/mutexes/...
> Tia, Stephan
>
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
--
Philippe.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai-help] Which thread holds a Mutex?
2007-04-04 8:50 ` Philippe Gerum
@ 2007-04-04 8:59 ` Stephan Zimmermann
0 siblings, 0 replies; 3+ messages in thread
From: Stephan Zimmermann @ 2007-04-04 8:59 UTC (permalink / raw)
To: xenomai
Philippe Gerum schrieb:
> On Wed, 2007-04-04 at 10:30 +0200, Stephan Zimmermann wrote:
>> Hi,
>> I see a deadlock occur every now and than in my app. Is there a way to
>> tell which thread is actually holding a lock from a normal userspace
>> app? rt_mutex_inquire() only tells me that it is locked, but not who is
>> holding it.
>>
>
> /proc/xenomai/registry/native/mutexes/...
Ouch!
>> Tia, Stephan
>>
>> _______________________________________________
>> Xenomai-help mailing list
>> Xenomai-help@domain.hid
>> https://mail.gna.org/listinfo/xenomai-help
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-04-04 8:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-04 8:30 [Xenomai-help] Which thread holds a Mutex? Stephan Zimmermann
2007-04-04 8:50 ` Philippe Gerum
2007-04-04 8:59 ` Stephan Zimmermann
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.