Porting from vxworks to linux

From: Amol Kumar Lad (amolk@ishoni.com)
Date: Thu Mar 21 2002 - 05:39:51 EST


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/



This archive was generated by hypermail 2b29 : Sat Mar 23 2002 - 22:00:24 EST