I don't use the make_hard_realtime() call explicidly in my program because I am compiling a kernel module as apposed to a user space program where I use the init() and exit() calls as apposed to the main() call. What I attempted to do was to wait for the Sync from RTnet in init() before I started my threads. But what I realized from you mail is that the init() thread is not running in real-time although it is running in the kernel space (I never realized that before). Only the threads started with rt_task_init() and rt_task_make_periodic() calls are running real-time. And I have tried to insert the make_hard_real_time() call in my init() function but realized it won't work in my kernel space program because it was written for user space programs. Is there another way to make the init() thread real-time so I can Sync the other threads with RTnet from the start?
Michael On 5/22/07, Jan Kiszka <[EMAIL PROTECTED]> wrote: > Michael Smith wrote: > > Yes the program runs in hard real-time. I don't use soft real-time at all. > > I assumed that the ioctl call works only in real-time because it is a > > kernel call. > > The question is where your make_hard_realtime call was placed, before or > after the ioctl. Please post complete (demo-)code for clarification. > > Jan > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users