From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: mobin Motallebizadeh <mobin.seven@live.com>,
"xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai] Round-robin "unknown error -3"
Date: Mon, 05 May 2014 12:41:15 +0200 [thread overview]
Message-ID: <53676ACB.4030204@xenomai.org> (raw)
In-Reply-To: <DUB121-W16C3D6303DA348F2821C53814C0@phx.gbl>
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.
next prev parent reply other threads:[~2014-05-05 10:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-05 10:04 [Xenomai] Round-robin "unknown error -3" mobin Motallebizadeh
2014-05-05 10:41 ` Gilles Chanteperdrix [this message]
2014-05-05 10:43 ` Philippe Gerum
2014-05-07 8:40 ` mobin Motallebizadeh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53676ACB.4030204@xenomai.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=mobin.seven@live.com \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.