* [Xenomai-core] anonymous user-space tasks (again)
@ 2006-01-15 19:02 Stefan Kisdaroczi
2006-01-16 11:15 ` Gilles Chanteperdrix
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Kisdaroczi @ 2006-01-15 19:02 UTC (permalink / raw)
To: xenomai
[-- Attachment #1: Type: text/plain, Size: 944 bytes --]
Hi,
I tested Philipp's fix "Allow creating anon user-space tasks" [1][2]
with Xenomai 2.1-RC2/2.6.15/x86 (2.0.3 should behave the same).
anon rt_task_shadow:
2.0.1: worked
2.1-RC2: works, but only once (EEXIST)
anon rt_task_spawn:
2.0.1: failed with ESRCH (-3)
2.1-RC2: works, but only once (EEXIST)
A small program only calling rt_task_shadow with NULL-name fails if i start it
a second time. Error EEXIST (-17). Same for a program calling only
rt_task_spawn with NULL-name.
There is nothing under /proc/xenomai/registry/*
Apropos registry:
In the trunk there is no file src/native/registry.c anymore. I do not really
miss it, but the API documentation still says these calls can be made from
user-space. Should I create a patch to update the docs? Or should it be
there?
thank you
kisda
[1] http://svn.gna.org/viewcvs/xenomai?rev=405&view=rev
[2] http://svn.gna.org/viewcvs/xenomai?rev=406&view=rev
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai-core] anonymous user-space tasks (again)
2006-01-15 19:02 [Xenomai-core] anonymous user-space tasks (again) Stefan Kisdaroczi
@ 2006-01-16 11:15 ` Gilles Chanteperdrix
2006-01-16 15:38 ` Gilles Chanteperdrix
2006-01-29 11:13 ` Philippe Gerum
0 siblings, 2 replies; 4+ messages in thread
From: Gilles Chanteperdrix @ 2006-01-16 11:15 UTC (permalink / raw)
To: Stefan Kisdaroczi; +Cc: xenomai
Stefan Kisdaroczi wrote:
> A small program only calling rt_task_shadow with NULL-name fails if i start it
> a second time. Error EEXIST (-17). Same for a program calling only
> rt_task_spawn with NULL-name.
I am able to observe this behaviour. I am on it.
> Apropos registry:
> In the trunk there is no file src/native/registry.c anymore. I do not really
> miss it, but the API documentation still says these calls can be made from
> user-space. Should I create a patch to update the docs? Or should it be
> there?
I will update the doc too. There are no registry syscalls in
ksrc/skins/native/syscall.c, and no skins/native/lib/registry.c in 2.0.x
branch either, so it looks intentional. Registry services are not
accessible from user-space. Philippe will be able to explain here.
Thanks for reporting.
--
Gilles Chanteperdrix.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai-core] anonymous user-space tasks (again)
2006-01-16 11:15 ` Gilles Chanteperdrix
@ 2006-01-16 15:38 ` Gilles Chanteperdrix
2006-01-29 11:13 ` Philippe Gerum
1 sibling, 0 replies; 4+ messages in thread
From: Gilles Chanteperdrix @ 2006-01-16 15:38 UTC (permalink / raw)
To: xenomai
Gilles Chanteperdrix wrote:
> Stefan Kisdaroczi wrote:
> > A small program only calling rt_task_shadow with NULL-name fails if i start it
> > a second time. Error EEXIST (-17). Same for a program calling only
> > rt_task_spawn with NULL-name.
>
> I am able to observe this behaviour. I am on it.
It is fixed in svn trunk.
--
Gilles Chanteperdrix.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai-core] anonymous user-space tasks (again)
2006-01-16 11:15 ` Gilles Chanteperdrix
2006-01-16 15:38 ` Gilles Chanteperdrix
@ 2006-01-29 11:13 ` Philippe Gerum
1 sibling, 0 replies; 4+ messages in thread
From: Philippe Gerum @ 2006-01-29 11:13 UTC (permalink / raw)
To: Gilles Chanteperdrix; +Cc: xenomai
Gilles Chanteperdrix wrote:
> Stefan Kisdaroczi wrote:
> > A small program only calling rt_task_shadow with NULL-name fails if i start it
> > a second time. Error EEXIST (-17). Same for a program calling only
> > rt_task_spawn with NULL-name.
>
> I am able to observe this behaviour. I am on it.
>
> > Apropos registry:
> > In the trunk there is no file src/native/registry.c anymore. I do not really
> > miss it, but the API documentation still says these calls can be made from
> > user-space. Should I create a patch to update the docs? Or should it be
> > there?
>
> I will update the doc too. There are no registry syscalls in
> ksrc/skins/native/syscall.c, and no skins/native/lib/registry.c in 2.0.x
> branch either, so it looks intentional. Registry services are not
> accessible from user-space. Philippe will be able to explain here.
Existing registry calls are intended for use in code implementing RT interfaces in
kernel space, not by applications. This is why we do not have any user-space
syscalls to reach them.
>
> Thanks for reporting.
>
--
Philippe.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-01-29 11:13 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-15 19:02 [Xenomai-core] anonymous user-space tasks (again) Stefan Kisdaroczi
2006-01-16 11:15 ` Gilles Chanteperdrix
2006-01-16 15:38 ` Gilles Chanteperdrix
2006-01-29 11:13 ` 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.