From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4461B9E8.7000105@domain.hid> Date: Wed, 10 May 2006 12:01:12 +0200 From: Philippe Gerum MIME-Version: 1.0 Subject: Re: [Xenomai-help] T_JOINABLE flag and task creation in userspace References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Eletzhofer Cc: xenomai@xenomai.org Stefan Eletzhofer wrote: > Hello, > I've just tried to create a task in user space with the T_JOINABLE flag > set, > as I wanted to rt_task_join() to that thread later on. > > Unfortunately, as soon as I set that flag, the task does'nt get started > at all (i.e. its task body is not reached). Is that a known BUG/ > limitation or am I missing > something? The same program works if I pass 0 instead of T_JOINABLE (of > course the > rt_task_jolin() fails to join, then, using pause() in that case ;) > > I'm using Xenomai 2.1 on a custom PPC board running a 2.4.25 kernel. > The latency tests > look OKish to me. > A conflict has been detected between the T_JOINABLE bit and the CPU affinity bits for the native skin, which caused rt_task_start() to fail silently. Fixed in the SVN repository for both the stable and dev branches (commits #1062 and #1063). -- Philippe.