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
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help