Headers
Russell
rjshaw at iprimus.com.au
Sat Nov 2 13:54:57 CET 2002
Hi all,
The manuals in rtai4/Documentation mostly
have: #include <rtai_sched.h>
for various rtai functions, and the
examples in rtai4/examples have things
like: #include <rtai.h> and
#include <rtai_sched.h>
#include <asm/io.h>
#include <asm/rtai.h>
How do you know when to use these last two?
In rtai4/lxrt, most of the examples have:
#define KEEP_STATIC_INLINE
#include "../rtai_lxrt_user.h"
#include <rtai_lxrt.h>
I can't find these in the manuals. What
should i use?
I put these lines in my LXRT code:
#define KEEP_STATIC_INLINE
#include <rtai_lxrt_user.h>
#include <rtai_lxrt.h>
and it got rid of the errors i had before.
Also, the LXRT examples don't have:
#include <rtai_sched.h>
where functions are used that
require it from the manual.
More information about the Rtai
mailing list