* [Xenomai-help] T_JOINABLE flag and task creation in userspace
@ 2006-04-27 21:56 Stefan Eletzhofer
2006-04-28 10:25 ` Philippe Gerum
2006-05-10 10:01 ` Philippe Gerum
0 siblings, 2 replies; 3+ messages in thread
From: Stefan Eletzhofer @ 2006-04-27 21:56 UTC (permalink / raw)
To: xenomai
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.
Thanks,
Stefan E.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai-help] T_JOINABLE flag and task creation in userspace
2006-04-27 21:56 [Xenomai-help] T_JOINABLE flag and task creation in userspace Stefan Eletzhofer
@ 2006-04-28 10:25 ` Philippe Gerum
2006-05-10 10:01 ` Philippe Gerum
1 sibling, 0 replies; 3+ messages in thread
From: Philippe Gerum @ 2006-04-28 10:25 UTC (permalink / raw)
To: Stefan Eletzhofer; +Cc: xenomai
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 ;)
>
Any error code returned by rt_task_create()/rt_task_start()?
> I'm using Xenomai 2.1 on a custom PPC board running a 2.4.25 kernel.
> The latency tests
> look OKish to me.
>
> Thanks,
> Stefan E.
>
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
>
--
Philippe.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai-help] T_JOINABLE flag and task creation in userspace
2006-04-27 21:56 [Xenomai-help] T_JOINABLE flag and task creation in userspace Stefan Eletzhofer
2006-04-28 10:25 ` Philippe Gerum
@ 2006-05-10 10:01 ` Philippe Gerum
1 sibling, 0 replies; 3+ messages in thread
From: Philippe Gerum @ 2006-05-10 10:01 UTC (permalink / raw)
To: Stefan Eletzhofer; +Cc: xenomai
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-05-10 10:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-27 21:56 [Xenomai-help] T_JOINABLE flag and task creation in userspace Stefan Eletzhofer
2006-04-28 10:25 ` Philippe Gerum
2006-05-10 10:01 ` Philippe Gerum
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.