Re: Pointers in Shared Memory
From: DINH Viêt Hoà (dinh.viet.hoa_at_free.fr)
Date: 08/08/03
- Next message: Paras: "socket read when io happens"
- Previous message: DINH Viêt Hoà: "Re: Order of memory segments"
- In reply to: Michael B Allen: "Pointers in Shared Memory"
- Next in thread: Rainer Temme: "Re: Pointers in Shared Memory"
- Reply: Rainer Temme: "Re: Pointers in Shared Memory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 8 Aug 2003 12:46:15 +0200
Michael B Allen wrote :
> *However*, if the mapping is created by the root process and inherited
> by all children the mapping *will* be the same and therefore pointers
> established before forking and pointers to objects within the memory
> mapped area will be correct.
You can also create memory mapping with fixed address, so that the pointer
will be the same in the two processes.
-- DINH V. Hoa, "sunZ ! capitaine de soirées"
- Next message: Paras: "socket read when io happens"
- Previous message: DINH Viêt Hoà: "Re: Order of memory segments"
- In reply to: Michael B Allen: "Pointers in Shared Memory"
- Next in thread: Rainer Temme: "Re: Pointers in Shared Memory"
- Reply: Rainer Temme: "Re: Pointers in Shared Memory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|