Messages in this thread | | | From | Amol Kumar Lad <> | Subject | Porting from vxworks to linux | Date | Thu, 21 Mar 2002 16:09:51 +0530 |
| |
Hi , Sorry for posting this to wrong list. But you can help me out.
I am porting some code from Vxworks to Linux (application level, not kernel). THe problem is , in Vxworks as there is a single address space so a 'malloc' done by one process is visible to other process also, i.e. all the global data is shared in Vxworks across processes.
This is not true in linux, as every process has its own address space. What could be done so that I can use same 'malloc' like interface and have all my 'global data' shared across process.
I can understand that i have to use shared memory for this. Is there any library available that provides me a 'malloc' type interface for shared memory.
All processes are unrelated processes ( fork -> exec)
Thanks Amol
-- please CC me.. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |