Delay Function in RTEMS
lucagermano at hotmail.com
Thu Apr 13 12:11:14 UTC 2006
Thanks for your help. The rtems_task_wake_after() is usefull if you need a
delay in a task execution but I need a delay in a simple function. I try
again the use of nanosleep POSIX function. I understend its use and now it
Thanks again for the help.
>From: "Ali Asgar Nasir" <aliasgar.nasir at patni.com>
>To: "Luca Germano" <lucagermano at hotmail.com>, <rtems-users at rtems.com>
>Subject: Re: Delay Function in RTEMS
>Date: Thu, 13 Apr 2006 16:42:03 +0530
>try using rtems_task_wake_after()
>----- 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?
>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