Message-ID: <50B7401C.4090105@xenomai.org> Date: Thu, 29 Nov 2012 11:59:40 +0100 From: Philippe Gerum MIME-Version: 1.0 References: <50B73EA7.3070501@thrane.com> In-Reply-To: <50B73EA7.3070501@thrane.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] mutex and timers List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: jesper.christensen@cobham.com Cc: Jesper Christensen , xenomai@xenomai.org 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.