All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] Can't create more than one watchdog under vxworks skin
@ 2007-09-18 14:29 Guillaume Gaudonville
  2007-09-18 18:08 ` Philippe Gerum
  0 siblings, 1 reply; 5+ messages in thread
From: Guillaume Gaudonville @ 2007-09-18 14:29 UTC (permalink / raw)
  To: xenomai

[-- Attachment #1: Type: text/plain, Size: 1054 bytes --]

Hi,

I use Xenomai since a few time. I have to port an application
running under VxWorks on Linux. This application uses a lot of watchdog
to delay job it has to do.

When I use the function wdCreate under the VxWorks skin (in User Space),
I am not able to create more than 1 watchdog. I watched to the function
implementation in
user space and I saw that when I call wdCreate, a task is created with the
name: wdserver.

When I call wdCreate a second time, it returns me 0 because he can't create
another task with the same name (wdServer). But my watchdog seems to be
created in
kernel space because I can see it in
/proc/xenomai/registry/vxworks/watchdog.

Is it a mistake? If not, what is the reason for this behaviour?

I have modified the user space library to create a task of name
wdserver<WDOG_ID>,
and it seems to work fine. Is it correct?

I think a better solution would be to have only one task to manage all the
wathdog but I don't
have a lot of time to implement it. Maybe in a few weeks.

Thanks for your help.

-- 
Guillaume Gaudonville

[-- Attachment #2: Type: text/html, Size: 1168 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-10-02 18:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-18 14:29 [Xenomai-help] Can't create more than one watchdog under vxworks skin Guillaume Gaudonville
2007-09-18 18:08 ` Philippe Gerum
2007-10-02 16:18   ` Philippe Gerum
2007-10-02 16:32     ` Philippe Gerum
2007-10-02 18:27       ` Guillaume Gaudonville

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.