All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Stefan Eletzhofer <stefan.eletzhofer@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] T_JOINABLE flag and task creation in userspace
Date: Wed, 10 May 2006 12:01:12 +0200	[thread overview]
Message-ID: <4461B9E8.7000105@domain.hid> (raw)
In-Reply-To: <CAD034EB-5B5C-4E38-9C26-BA4D2157C8AA@inquant.de>

Stefan Eletzhofer wrote:
> Hello,
> I've just tried to create a task in user space with the T_JOINABLE  flag 
> set,
> as I wanted to rt_task_join() to that thread later on.
> 
> Unfortunately, as soon as I set that flag, the task does'nt get started
> at all (i.e. its task body is not reached). Is that a known BUG/ 
> limitation or am I missing
> something? The same program works if I pass 0 instead of T_JOINABLE  (of 
> course the
> rt_task_jolin() fails to join, then, using pause() in that case ;)
> 
> I'm using Xenomai 2.1 on a custom PPC board running a 2.4.25 kernel.  
> The latency tests
> look OKish to me.
> 

A conflict has been detected between the T_JOINABLE bit and the CPU 
affinity bits for the native skin, which caused rt_task_start() to fail 
silently. Fixed in the SVN repository for both the stable and dev 
branches (commits #1062 and #1063).

-- 

Philippe.


      parent reply	other threads:[~2006-05-10 10:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-27 21:56 [Xenomai-help] T_JOINABLE flag and task creation in userspace Stefan Eletzhofer
2006-04-28 10:25 ` Philippe Gerum
2006-05-10 10:01 ` Philippe Gerum [this message]

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=4461B9E8.7000105@domain.hid \
    --to=rpm@xenomai.org \
    --cc=stefan.eletzhofer@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.