All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Daniel Schnell <daniel.schnell@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] rtcansend.c problem if using together with	-lpthread_rt
Date: Mon, 12 Mar 2007 14:54:23 +0100	[thread overview]
Message-ID: <45F55B8F.3010301@domain.hid> (raw)
In-Reply-To: <DD39B5C3F4963040ADC9768BE7E430CB01BB4107@domain.hid>

Daniel Schnell wrote:
> I am using svn version 2256.
> Am I doing here something fundamentally wrong in providing -lpthread_rt
> as an additional library ? Shouldn't the native skin and the POSIX skin
> just work together ?

The two libraries work together, but the POSIX skin automatically
shadows the main thread. So, if you are trying to shadow it with the
native library, you get the -EBUSY error, that is normal: you can not
shadow the same thread twice. If you want to link rtcansend with the
posix skin, simply remove the shadowing of the main thread with
rt_task_shadow.

-- 
                                                 Gilles Chanteperdrix


  reply	other threads:[~2007-03-12 13:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-12 13:46 [Xenomai-help] rtcansend.c problem if using together with -lpthread_rt Daniel Schnell
2007-03-12 13:54 ` Gilles Chanteperdrix [this message]
2007-03-14 11:58 ` [Xenomai-help] rtcansend.c problem if using together with-lpthread_rt Daniel Schnell
2007-03-14 12:55   ` Wolfgang Grandegger
2007-03-14 13:29     ` Daniel Schnell
2007-03-14 20:00       ` 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=45F55B8F.3010301@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=daniel.schnell@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.