On Tue, Aug 29, 2000 at 03:59:59PM -0700, [EMAIL PROTECTED] wrote:
> 
> Hello :
>   I have received answers to my question RE : rtl task brings the host
> down.
>   Victor Yodaiken asked me what is the value of SPEED in the code 
>      if ( pthread_make_periodic_np( mem_tasks[1],  gethrtime(), SPEED*300000000 )
>           printk ("\n MEM Thread 2 is periodic now\n");
> 
> The value of SPEED is 3000.

300,000,000 * 3000 = 900,000,000,000 which is 900 seconds assuming gcc is doing the
64 bit arithmetic right. 
Do you get any compiler warnings?
This should work, but try a smaller period just to make sure. I'll go look at
the code again.

> What is the maximum period that can be assigned to a rt periodic task ?
> It could be why I am having a problem -- the period is too large.
> 
> Sincerely,
> Olga
>   
> 

-- 
---------------------------------------------------------
Victor Yodaiken 
Finite State Machine Labs: The RTLinux Company.
 www.fsmlabs.com  www.rtlinux.com

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