Ok. But, actually I dont need native-to-posix mode. I just need to
share memory betweend kernel thread and user space application.
On 3/28/08, Gilles Chanteperdrix <[EMAIL PROTECTED]> wrote:
> On Fri, Mar 28, 2008 at 12:35 PM, Bosko Radivojevic
> <[EMAIL PROTECTED]> wrote:
> > Also, I've enable during kernel compilation in posix skin option
> > 'shared memory'. Also, I tried with posix skin in user space:
> > [..]
> > fd = shm_open ("MainSHM", O_RDWR, 0);
> > [..]
> >
> > When I start it, on the console I can see:
> > shm_open: No such file or directory
> > Xenomai: POSIX: destroyed thread c4802400
>
> Native and POSIX shared heap namespaces are separated. To create a
> shared heap for communications between kernel-space and user-space
> using posix interface, you have to pass O_CREAT to shm_open on either
> side.
>
> --
> Gilles
>
--
Sent from Gmail for mobile | mobile.google.com
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help