Message-ID: <1523457598.2312.18.camel@smigroup.net> From: Mauro Salvini Date: Wed, 11 Apr 2018 16:39:58 +0200 In-Reply-To: References: <1523454871.2312.15.camel@smigroup.net> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] rt_task_wait_period() does not return -EWOULDBLOCK List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Philippe Gerum , xenomai On Wed, 2018-04-11 at 16:20 +0200, Philippe Gerum wrote: > On 04/11/2018 03:54 PM, Mauro Salvini wrote: > > Hi, > > > > I'm facing an unexpected behavior of rt_task_wait_period(). > > > > ... > Please try this and let me know if the situation gets any better: Yes, now it works as expected. Output with SET_PERIOD not defined is: NON PERIODIC TASK! Main 0 NON PERIODIC TASK! NON PERIODIC TASK! Main 2 NON PERIODIC TASK! NON PERIODIC TASK! Main 4 ... Thank you Philippe. Best regards. Mauro