All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: jesper.christensen@cobham.com
Cc: Jesper Christensen <jbc@thrane.com>, xenomai@xenomai.org
Subject: Re: [Xenomai] mutex and timers
Date: Thu, 29 Nov 2012 11:59:40 +0100	[thread overview]
Message-ID: <50B7401C.4090105@xenomai.org> (raw)
In-Reply-To: <50B73EA7.3070501@thrane.com>

On 11/29/2012 11:53 AM, Jesper Christensen wrote:
> Hello
> 
> I was wondering if (and i have a feeling i already know the answer) it
> is a no-go to call rtdm_mutex_lock from a rtdm timer handler? I've just
> discovered that is what we do, and i have a feeling it is causing
> trouble (most of the time it seems to work however).
> 

Btw, you should enable XENO_OPT_DEBUG_NUCLEUS and XENO_OPT_DEBUG_RTDM in
your kernel config (leave out DEBUG_QUEUES, it introduces a lot of
overhead and should only be set when explicitly required). This would
trap at such attempt, pinpointing the issue.

-- 
Philippe.


  parent reply	other threads:[~2012-11-29 10:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-29 10:53 [Xenomai] mutex and timers Jesper Christensen
2012-11-29 10:56 ` Philippe Gerum
2012-11-29 10:57   ` Jesper Christensen
2012-11-29 10:59 ` Philippe Gerum [this message]
2012-11-29 11:07   ` Jesper Christensen

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=50B7401C.4090105@xenomai.org \
    --to=rpm@xenomai.org \
    --cc=jbc@thrane.com \
    --cc=jesper.christensen@cobham.com \
    --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.