Hi,

I've developped a program for an embedded system, with KDevelop, on a
standad kernel (2.2.14).

One of my threads have to be periodic, with a very precise interval of
time. That's why I decided to use RTlinux.

I've tried for several days to modify my program in order to run it
under RTlinux 2.2 (which is already installed, and it works well). Of
course, it doesn't work anymore, and it would be great if you could help
me.

- Is it possible to run the program (with a "main") using rt functions
(like pthread_make_periodic) on RTlinux ? I know (because I tried the
examples) that in general, rt tasks are compiled as modules and inserted
into the kernel. Is there another way ?

- My program was coded in several files. When I tried to compile it with
rt headers (rt_sched.h, ...), there were many problems (conflicts,
"undefined reference ...", ...). I now that standard headers are not
compatible with rt headers. But if I put the whole code in one file
only, it works. Does the whole code have to be written in the same file
? Or did I make a mistake ?

Thanks for your help !

 - Nicolas
begin:vcard 
n:FLORIAN;Nicolas
x-mozilla-html:FALSE
org:GRME-Est;Bureau d'Etudes
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
x-mozilla-cpt:;3424
fn:Nicolas FLORIAN
end:vcard

Reply via email to