Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) From: mathew.benson@gmail.com In-Reply-To: <20170725190214.6f2fd892@md1em3qc> Date: Wed, 26 Jul 2017 09:42:28 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20170725190214.6f2fd892@md1em3qc> Subject: Re: [Xenomai] rt_task_create fails List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Henning Schild Cc: xenomai@xenomai.org I didn't create a shadow yet. None of the sample code I found did that. Is= that required? Sent from my iPhone > On Jul 25, 2017, at 12:02 PM, Henning Schild w= rote: >=20 > Am Tue, 25 Jul 2017 07:48:46 -0500 > schrieb : >=20 >> I ported Xenomai 3.0.5 to Petalinux 2017.1. The supported tests run >> fine, but my code is failing. rt_task_create always fails with errno >> set to 17 (EEXIST). Doesn't matter what arguments I give it. Before >> I dissect this further, does anybody have any insight? >=20 > Your thread might not have a shadow yet and you might see a case where > an EPERM is transformed into an EEXIST. > We did not discuss the transformation bug yet. But your solution might > be to just shadow on EPERM and EEXIST, or before calling anything that > needs a shadow. >=20 > http://www.xenomai.org/pipermail/xenomai/2017-July/037474.html >=20 > Henning >=20 >> Sent from my iPhone >> _______________________________________________ >> Xenomai mailing list >> Xenomai@xenomai.org >> https://xenomai.org/mailman/listinfo/xenomai >=20