Quote:
|
Originally Posted by porter
...have another server process that contains the list and all other processes use some form of IPC or RPC to access...
|
in the end that's what i did! But i was trying to see if there is something i don't know about in unix that can allow me to:
p1 and p2 are 2 processes,
in p1:
int *var=malloc(sizeof(int));
send var to p2 (the address not the value)
in p2:
*var = 4; // normaly that'll give an error
I need to allow p2 to gain access to all the memory space of p1. i can simply put em in a shared memory, but i was trying to find a substitute!