From: Jan Kiszka <jan.kiszka@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: Xenomai-core@domain.hid
Subject: Re: [Xenomai-core] [PATCH] Unfreeze timers when debugged target exits
Date: Fri, 09 May 2008 11:40:22 +0200 [thread overview]
Message-ID: <48241C06.4040105@domain.hid> (raw)
In-Reply-To: <2ff1a98a0805090235t2f3c46a2vb19a4ccc7c2157b@domain.hid>
Gilles Chanteperdrix wrote:
> On Fri, May 9, 2008 at 11:29 AM, Jan Kiszka <jan.kiszka@domain.hid> wrote:
>> + if (xnthread_test_info(thread, XNDEBUG))
>> + unlock_timers();
>> +
>
> Will this work if several threads are currently being debugged ?
Not better or worse than with the current code. The whole approach is
not fixed by this patch, just some collateral damage is reduced.
Well, maybe some counter should be used to track the number of XNDEBUG
bits in the system and unfreeze the timers when that becomes zero. Will
look into this.
Jan
next prev parent reply other threads:[~2008-05-09 9:40 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-09 9:29 [Xenomai-core] [PATCH] Unfreeze timers when debugged target exits Jan Kiszka
2008-05-09 9:35 ` Gilles Chanteperdrix
2008-05-09 9:40 ` Jan Kiszka [this message]
2008-05-09 9:44 ` Jan Kiszka
2008-05-09 9:47 ` Philippe Gerum
2008-05-09 9:44 ` Philippe Gerum
2008-05-09 9:53 ` Gilles Chanteperdrix
2008-05-09 10:06 ` Philippe Gerum
2008-05-09 12:27 ` Gilles Chanteperdrix
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=48241C06.4040105@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=Xenomai-core@domain.hid \
--cc=gilles.chanteperdrix@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.