All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephan Zimmermann <s.zimmermann@domain.hid>
To: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Which thread holds a Mutex?
Date: Wed, 04 Apr 2007 10:59:54 +0200	[thread overview]
Message-ID: <4613690A.2010508@domain.hid> (raw)
In-Reply-To: <1175676629.4666.11.camel@domain.hid>

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



      reply	other threads:[~2007-04-04  8:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4613690A.2010508@domain.hid \
    --to=s.zimmermann@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.