I have two processes P1 and P2.
I have this large read-only resource, called "R" that I want both P1 and P2 to have access to.
R is not just a "flat" group of bytes; it's a bunch of C++ objects that point to each other.
I would prefer that P1 and P2 only share one copy of R -- somehow have P1 load R into a region in memory (that's mmaped in P1 and P2 at the same address), then P1 and P2 can both access the objects in R as C++ objects (no race conditions since all is read only).
Anyone familiar how to do this / gotchas?