From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <528E74AF.8080404@xenomai.org> Date: Thu, 21 Nov 2013 22:01:35 +0100 From: Philippe Gerum MIME-Version: 1.0 References: <1385063104.21818.YahooMailNeo@web193606.mail.sg3.yahoo.com> In-Reply-To: <1385063104.21818.YahooMailNeo@web193606.mail.sg3.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] rt_task_set_periodic List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alex Martin , "xenomai@xenomai.org" On 11/21/2013 08:45 PM, Alex Martin wrote: > Hi, > > I want to adjust the period set for rt_task_set_periodic. > > It is required to adjust the period value at run time when task is running. > I want to adjust the task period to external clock. > > period will about 5 milli seconds.( I set it to 5e6 ). There will be always difference between two clocks. I want to adjust dynamically during run time period of the xenomai task to match external clock. > > Which function can be used. > Simply issue rt_task_set_periodic again, with the adjusted period. > Best regards, > > Alex. > > _______________________________________________ > Xenomai mailing list > Xenomai@xenomai.org > http://www.xenomai.org/mailman/listinfo/xenomai > -- Philippe.