From: Jan Kiszka <jan.kiszka@domain.hid>
To: Thomas Schaefer <thomas_schaefer_canada@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] rt_task_create with mode T_CPU(1)
Date: Mon, 23 Feb 2009 00:24:46 +0100 [thread overview]
Message-ID: <49A1DEBE.6020002@domain.hid> (raw)
In-Reply-To: <BAY135-W5F4633CFE181E5E1DFB22C6B20@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 1239 bytes --]
Thomas Schaefer wrote:
> Hi,
>
> I did some testing with the very latest Xenomai svn repository and kernel 2.6.28.2 on a quad core xeon arch X86_64.
>
> Until a few days ago everything seemed to work just fine.
> Now a task created with T_CPU( anything but 0) doesn't start after rt_task_start is called.
> I modified the trivial-periodic example and changed the mode to T_CPU(1).
> Now the example doesn't work anymore. It works unmodified or with T_CPU(0).
>
> I was wondering if I missed a change that would explain this behavior or if this is a bug?
Just tested with
diff --git a/examples/native/trivial-periodic.c b/examples/native/trivial-periodic.c
index c0422db..b8198f0 100644
--- a/examples/native/trivial-periodic.c
+++ b/examples/native/trivial-periodic.c
@@ -57,7 +57,7 @@ int main(int argc, char* argv[])
* priority,
* mode (FPU, start suspended, ...)
*/
- rt_task_create(&demo_task, "trivial", 0, 99, 0);
+ rt_task_create(&demo_task, "trivial", 0, 99, T_CPU(1));
/*
* Arguments: &task,
on a dual core system using latest trunk on 2.6.28.7. Works fine, and
the same is true for "latency -c 1". Can you provide more details about
your setup?
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]
next prev parent reply other threads:[~2009-02-22 23:24 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-19 1:18 [Xenomai-help] rt_task_create with mode T_CPU(1) Thomas Schaefer
2009-02-22 23:24 ` Jan Kiszka [this message]
2009-02-23 16:11 ` Thomas Schaefer
2009-02-23 16:53 ` Jan Kiszka
2009-02-23 18:32 ` Thomas Schaefer
2009-02-23 22:31 ` Jan Kiszka
2009-02-24 0:36 ` Thomas Schaefer
2009-02-24 8:35 ` Jan Kiszka
2009-02-24 10:03 ` Jan Kiszka
2009-02-23 17:05 ` Gilles Chanteperdrix
2009-02-23 18:41 ` Thomas Schaefer
2009-02-23 18:42 ` Gilles Chanteperdrix
2009-02-23 18:47 ` Thomas Schaefer
2009-02-23 19:04 ` Gilles Chanteperdrix
2009-02-23 19:23 ` Thomas Schaefer
2009-02-23 17:08 ` 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=49A1DEBE.6020002@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=thomas_schaefer_canada@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.