Re: [Xenomai-help] pthread cancelation and scheduling magics

2008-12-10 Thread Wolfgang Grandegger
Wolfgang Grandegger wrote: Hi Gilles, Gilles Chanteperdrix wrote: Wolfgang Grandegger wrote: I'm also puzzled why pthread_setschedparam() does make a mode switch to secondary mode (sometimes). That is normal. The glibc caches threads priority value, so we have to call

[Xenomai-help] rt_heap_create problem

2008-12-10 Thread Hans Søndergaard (HSO)
Hello Xenomai. I use Xenimai 2.4.3 and Linux 2.6.24 on an AT91SAM9260 processor based on ARM926EJ-S. My problem is that the code snippet below gives an error -2. As you can see, I have tried different HEAP_MODE values. Earlier, I used the code on x86 without problem. Hope, you can help me.