Re: [Xenomai-core] Odd behaviour of vxworks

2006-09-18 Thread Niklaus Giger
Am Sonntag, 17. September 2006 19:06 schrieb Philippe Gerum: On Fri, 2006-09-15 at 21:44 +0200, Niklaus Giger wrote: Hi .. Maybe the example is misleading in that respect; the patch below makes the behaviour constant among all environments: Thanks for your explanation and the fix. But I

Re: [Xenomai-core] Odd behaviour of vxworks

2006-09-17 Thread Philippe Gerum
On Fri, 2006-09-15 at 21:44 +0200, Niklaus Giger wrote: Hi First I was surprised that a lot of vxworks return -1 unless running inside a thread created by taskSpawn, e.g. taskIdSelf or taskMCreate return -1. You likely have obtained those results on top of the direct syscall interface (i.e.