From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <53676ACB.4030204@xenomai.org> Date: Mon, 05 May 2014 12:41:15 +0200 From: Gilles Chanteperdrix MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] Round-robin "unknown error -3" List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: mobin Motallebizadeh , "xenomai@xenomai.org" On 05/05/2014 12:04 PM, mobin Motallebizadeh wrote: > I used the "round-robin-example.c" and got the > "round-robin-example-output".the first task returns 0 (success) and > works correctlyothers return -3.what am I doing wrong.thanks in > advance rt_task_slice return value is 0 if successful and a negative error in case of error. So, you should pass -err to strerror, not err. -- Gilles.