All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Christian Göbeler" <christian@athel.de>
To: xenomai@xenomai.org
Subject: [Xenomai] changing priority and policy VS unblocking
Date: Sat, 22 Feb 2014 16:51:55 +0100	[thread overview]
Message-ID: <5308C79B.30708@athel.de> (raw)

One question regarding xenomai best practices.

I have to modify an application running user defined code in worker
threads (POSIX threads).

Performance-wise is it better to create designated RT-Threads waiting
for a condition to be signaled and then continue to run in primary mode
whatever code the user passed in or would it be just as fast and
reliable to promote an already running worker thread by changing its
priority to let's say 99 for example and its sched-policy to FIFO?


Thanks

Christian


             reply	other threads:[~2014-02-22 15:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-22 15:51 Christian Göbeler [this message]
2014-02-23 16:31 ` [Xenomai] changing priority and policy VS unblocking 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=5308C79B.30708@athel.de \
    --to=christian@athel.de \
    --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.