Re: [Xenomai-core] why does not the share memory work well ?

2011-05-12 Thread arethe rtai
The errno of mmap that is called in function __map_shm_heap_memory() is 22, namely, EINVAL. Is there someone successfully run the shared memory under rtai skins. 2011/5/12 Gilles Chanteperdrix : > On 05/12/2011 06:15 AM, arethe rtai wrote: >> Hi all: >>     I wirte a share memory program, but I fo

Re: [Xenomai-core] why does not the share memory work well ?

2011-05-11 Thread Gilles Chanteperdrix
On 05/12/2011 06:15 AM, arethe rtai wrote: > Hi all: > I wirte a share memory program, but I found the share momory does > not work while I try to take a communication between user space and > kernel space. > The task in kernel is OK, we can get the shared space. But the > task in user spac

[Xenomai-core] why does not the share memory work well ?

2011-05-11 Thread arethe rtai
Hi all: I wirte a share memory program, but I found the share momory does not work while I try to take a communication between user space and kernel space. The task in kernel is OK, we can get the shared space. But the task in user space can not get the share memory. The code of the tas