Boost logo

Boost :

Subject: Re: [boost] [interprocess] preparing containers
From: Ion Gaztañaga (igaztanaga_at_[hidden])
Date: 2008-12-04 12:59:09


Thorsten Ottosen wrote:
> Thanks. Does that mean I can't even use function pointers in shared
> memory? That is, I can't even create my own manual vtable scheme:

No, you can't. The address of a function is determined by the
linker/loader so there is no valid address for several processes. The
only way to do something similar would be to have all the possible
functions in all processes, have a map/table for each process and an
index that would be used to go to the table and call the address of the
current process.

Regards,

Ion


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk