All of lore.kernel.org
 help / color / mirror / Atom feed
From: "J. Niehaus" <Niehaus@domain.hid>
To: xenomai@xenomai.org
Subject: [Xenomai-help] Detecting switch to secondary mode
Date: Thu, 6 Jul 2006 13:43:51 +0200	[thread overview]
Message-ID: <20060706134351.2e582664@domain.hid> (raw)

Hello,

I have written a xenomai application (posix-skin) with several tasks. All of them should normally use primary mode (SCHED_FIFO). While some are allowed to switch to secondary mode for stuff like I/O and memory allocation others must not switch due to hard realtime constraints. 

Is there a way to check if and how often a thread has switched to secondary mode and maybe even what system call caused the switch? While a test from within the program itself would be great some information from /proc/xenomai would also do.

Thanks,
	Jens


             reply	other threads:[~2006-07-06 11:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-06 11:43 J. Niehaus [this message]
2006-07-06 11:54 ` [Xenomai-help] Detecting switch to secondary mode Jan Kiszka
2006-07-06 11:55 ` Philippe Gerum
2006-07-06 12:04 ` 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=20060706134351.2e582664@domain.hid \
    --to=niehaus@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.