On 5/22/07, Jan Kiszka <[EMAIL PROTECTED]> wrote:
> Michael Smith wrote:
> > 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?
>
> Nope (as far as I recall RTAI). Can't you move your initial
> synchronisation into the startup phase of a real-time thread?
>
> Jan
>
>

I will find some or other a way to do it in the real-time thread now
that I know how it works.
Thanks for the insight.

Michael

-------------------------------------------------------------------------
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

Reply via email to