View topic - shm_open and mmap from a remote node

shm_open and mmap from a remote node

Discussion about the QNX6 OS.

shm_open and mmap from a remote node

Postby juanplacco » Tue Nov 02, 2010 2:06 pm

Hi!,

I see that document says about opening the shared memory from a remote node (shm_open):

-------------
If you want to open a shared memory object on another node, you have to specify the name as /net/node/shmem_location.
-------------

When I execute the shmem open, everything seems to go fine (it returns me a healthy file descriptor (fd=7 - errno=0). The probles comes when I execute the mmap... It returns me with error and errno=48 (an unlucky 'Not supported').

As I remember it was not supported in QNX 4.25, but the previous comment had made me give hope, but It does'n seems to work...

Am I missing something?, Is it possible to open a shared memory from a remote node (/net/...)?

Thank you!
JM
juanplacco
Senior Member
 
Posts: 318
Joined: Wed May 17, 2006 2:30 pm

RE: shm_open and mmap from a remote node

Postby mario » Thu Nov 04, 2010 10:25 am

It is indeed not supported.
mario
QNX Master
 
Posts: 4132
Joined: Sun Sep 01, 2002 1:04 am

RE: shm_open and mmap from a remote node

Postby juanplacco » Fri Nov 05, 2010 2:55 pm

I thought so...

Thanks!
juanplacco
Senior Member
 
Posts: 318
Joined: Wed May 17, 2006 2:30 pm


Return to QNX6 - OS

Who is online

Users browsing this forum: No registered users and 2 guests

cron