All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Jeff Webb <jeff.webb@domain.hid>
Cc: Xenomai help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] POSIX headers and PTHREAD_IPROPAGATE
Date: Thu, 02 Nov 2006 09:46:00 +0100	[thread overview]
Message-ID: <4549B048.8070607@domain.hid> (raw)
In-Reply-To: <454931B9.3070304@domain.hid>

Jeff Webb wrote:
> If I attempt to use PTHREAD_IPROPAGATE in my userspace POSIX skin 
> Xenomai program, I get the following:
> 
> irqtest.c: In function ‘main’:
> irqtest.c:278: error: ‘XN_ISR_PROPAGATE’ undeclared (first use in this 
> function)irqtest.c:278: error: (Each undeclared identifier is reported 
> only once
> irqtest.c:278: error: for each function it appears in.)
> 
> Including <nucleus/intr.h> fixes the problem.  I assume there should be 
> a #include in one of the POSIX header files.

I checked the trunk and the v2.2.x branch, and pthread.h includes
nucleus/xenomai.h which includes nucleus/intr.h, so including directly
nucleus/intr.h should not be necessary.

-- 
                                                  Gilles Chanteperdrix


  reply	other threads:[~2006-11-02  8:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-01 23:46 [Xenomai-help] POSIX headers and PTHREAD_IPROPAGATE Jeff Webb
2006-11-02  8:46 ` Gilles Chanteperdrix [this message]
2006-11-02  9:10   ` Philippe Gerum

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=4549B048.8070607@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=jeff.webb@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.