Skip navigation.
Home
The QNX Community Portal

View topic - Problem opening shared memory

Problem opening shared memory

For discussion of realtime and/or embedded programming.

Problem opening shared memory

Postby omesh » Wed Jul 07, 2010 7:19 am

I am not able to open shared memory created in a different process

shm_open method is returning is error no as EMFILE (Too many file descriptors are currently in use by this process).

Please help me with the possible reasons of the problem and possible solution.

Thanks in advance.
omesh
New Member
 
Posts: 8
Joined: Wed Jul 07, 2010 7:02 am

RE: Problem opening shared memory

Postby mario » Wed Jul 07, 2010 11:54 am

Not enough information. If it`s really an EMFILE error that means your code is opening to many files and not closing them.

We need to see some code ;-)
mario
QNX Master
 
Posts: 4132
Joined: Sun Sep 01, 2002 1:04 am


Return to Realtime and Embedded

Who is online

Users browsing this forum: No registered users and 3 guests