Delay Function in RTEMS

Luca Germano lucagermano at hotmail.com
Thu Apr 13 12:15:55 UTC 2006


The problems wasn't the clock driver include. I include the clock driver but 
I make a mistake in the use of nanosleep POSIX function. Now this function 
works good. I didn't understand the use of the nanosleep function 
parameters.

Thanks for your help.


>From: Joel Sherrill <joel.sherrill at oarcorp.com>
>To: Ali Asgar Nasir <aliasgar.nasir at patni.com>
>CC: Luca Germano <lucagermano at hotmail.com>,  rtems-users at rtems.com
>Subject: Re: Delay Function in RTEMS
>Date: Thu, 13 Apr 2006 06:27:26 -0500
>
>Ali Asgar Nasir wrote:
>
>>try using rtems_task_wake_after()
>
>
>None of them will work if you don't have the clock driver included in
>your configuration.
>
>--joel
>
>>
>>Regards
>>ali
>>
>>----- Original Message ----- From: "Luca Germano" 
>><lucagermano at hotmail.com>
>>To: <rtems-users at rtems.com>
>>Sent: Thursday, April 13, 2006 3:51 PM
>>Subject: Delay Function in RTEMS
>>
>>
>>>Hi  to everyone
>>>how is it possible in RTEMS to delay the execution of an instruction for 
>>>a defined number of ticks?
>>>I tried to use nanosleep POSIX function without results. It seems not 
>>>work good. I convert the number of ticks in nanosecons but nanosleep 
>>>doesn't sleep for the defined ticks period.
>>>Someone used this function or know another RTEMS function that is 
>>>possible to use for this purpose?
>>>Thanks
>>>
>>>
>>
>>
>>
>>http://www.patni.com
>>World-Wide Partnerships. World-Class Solutions.
>>_____________________________________________________________________
>>
>>This e-mail message may contain proprietary, confidential or legally
>>privileged information for the sole use of the person or entity to
>>whom this message was originally addressed. Any review, e-transmission
>>dissemination or other use of or taking of any action in reliance upon
>>this information by persons or entities other than the intended
>>recipient is prohibited. If you have received this e-mail in error
>>kindly delete  this e-mail from your records. If it appears that this
>>mail has been forwarded to you without proper authority, please notify
>>us immediately at netadmin at patni.com and delete this mail. 
>>_____________________________________________________________________
>
>





More information about the users mailing list