Hi,
U cant go actual realtime on
linux.
( ** CORRECT ME IF IM WRONG ** )
All that u can do is change the scheduling policy
of linux in ur application
through API's provided.
int
sched_setscheduler(pid_t pid, int policy, const struct sched_param
*p);
int
sched_getscheduler(pid_t pid);
struct
sched_param { ... int sched_priority; ... }; U can assign priorities too with
that.
Refer man pages for above functions.
If u really want real time, go in for
RTLinux.
That can run Linux as a thread. So that u get all
linux functionality
also get RT performance when reqd.
all the best..
byebyeing u..
-nagaraj
\(*_*)/
|