All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Steven Seeger <sseeger@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] shadow task and rt_task_self()
Date: Fri, 23 Jan 2009 20:46:29 +0100	[thread overview]
Message-ID: <497A1E95.4080805@domain.hid> (raw)
In-Reply-To: <51CAD0CE1504444DBE77CBBE51A0135D5908A4@domain.hid>

Steven Seeger wrote:
> Gilles, the problem is very simple. The initial task has self->opaque
> set to XN_NO_HANDLE. After you shadow that task, rt_task_self() still
> returns NULL.
> 
> This is either an oversight or you aren't supposed to shadow the initial
> task?

Maybe, but please do the work of writing the simplest example. Maybe you
will discover that it is something else in your bigger example that
causes it. And you still did not tell me if this is a trunk issue or a
v2.4.x branch issue.

-- 
					    Gilles.


  reply	other threads:[~2009-01-23 19:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-23 19:04 [Xenomai-help] shadow task and rt_task_self() Steven Seeger
2009-01-23 19:24 ` Gilles Chanteperdrix
2009-01-23 19:43   ` Steven Seeger
2009-01-23 19:46     ` Gilles Chanteperdrix [this message]
2009-01-23 19:50       ` Steven Seeger
2009-01-23 20:06         ` Gilles Chanteperdrix
2009-01-23 20:11           ` Steven Seeger

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=497A1E95.4080805@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=sseeger@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.