All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steven Scholz <steven.scholz@domain.hid>
To: xenomai@xenomai.org
Subject: [Xenomai-core] rt_task_create() hangs ?
Date: Wed, 24 Jan 2007 14:32:43 +0100	[thread overview]
Message-ID: <45B75FFB.6030205@domain.hid> (raw)

Hi all,

we're doing the first steps with Xenomai and stumbled about some problems.

On our AT91RM9200 (adeos-ipipe-2.6.14-arm-1.5-04,
ipipe-2.6.14-at91-1.5-04.patch) a simple application (that just creates and
destroys two threads)

	rt_task_create(&task_1,"task_1",0,50,0);
	rt_task_create(&task_2,"task_2",0,51,0);
	...
	rt_task_delete(&task_2);
	rt_task_delete(&task_1);

runs fine when started for the first time. But when started again it hangs
in the rt_task_create() for the second task.
Funny enough it all runs fine when we first delete task1 and then task2 ...

On an x86 (adeos-ipipe-2.6.19-i386-1.6-03) the application runs fine. Either
way.

We noticed that on the AT91RM9200 we don't see the

Xenomai: POSIX: destroyed thread c14a0320

message. Not even when running (and stopping) cyclictest. I suspect that
this is leading to our problems.

Any idea?

Thanks a million!

--
Steven


             reply	other threads:[~2007-01-24 13:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-24 13:32 Steven Scholz [this message]
2007-01-25 23:29 ` [Xenomai-core] rt_task_create() hangs ? Philippe Gerum
2007-01-30 10:27 ` Gilles Chanteperdrix
2007-02-01 13:07 ` Steven Scholz
2007-02-01 13:24   ` Gilles Chanteperdrix
2007-02-01 14:04     ` Steven Scholz
2007-02-02  9:59       ` 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=45B75FFB.6030205@domain.hid \
    --to=steven.scholz@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.