Reading the GettingStarted.txt file, I saw what appeared to be two
different ways to cause a thread to execute periodically:

        o  pthread_setperiod_np()

        o  pthread_make_periodic_np()


Questions:

        o  Why two period-setting functions?  What is the advantage of
           one over the other?

        o  What are the units for the "period" in pthread_make_periodic_np?
           Nanoseconds? This doesn't appear to be documented.

        o  Most of the examples only create the thread in
           init_module, and specify attributes and scheduling params
           in the function associated with the thread.  Are there
           any problems/consequences in doing the "thread initialization"
           stuff in init_module?

Thanks,

-- 
Prof Kenneth H Jacker       [EMAIL PROTECTED]
Computer Science Dept       www.cs.appstate.edu/~khj
Appalachian State Univ
Boone, NC  28608  USA        
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to