home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!vnet.ibm.com
- From: jimi@vnet.ibm.com (Jim Meyers)
- Message-ID: <19930125.084616.825@almaden.ibm.com>
- Date: Mon, 25 Jan 93 10:37:05 EST
- Newsgroups: comp.lang.c++
- Subject: Re: Objects in Shared Memory
- Lines: 35
-
- In <1993Jan19.174651.24907@hellgate.utah.edu> clark%asylum.cs.utah.edu@cs.utah.edu (Charles Clark) writes:
- >In article <1993Jan19.082043.4341@dxcern.cern.ch> pvv@cern.decnet.cern.ch () writes:
- >>
- >>Has anyone tried to do share objects between processes ?
- >
- >Yes.
- >
- >>Any advice or reference to an article or a book would be appreciated.
- >
- >A paper that addresses this problem is:
- >
- >David Jordan, ``Instantiation of C++ Objects in Shared Memory''. In ``C++
- >at Work '89''.
- >
- > ...
- >
- >One way to solve this problem, and the one espoused in the above
- >article, is to coordinate the location of virtual function tables within
- >all processes accessing shared objects. Thus, the virtual function
- >table for a particular class will reside at the same memory location
- >in each process.
- >
- >The first of these approaches is not complete in that it does not
- >address the problem of intra-object references. Thus, virtual base classes
- >can not be used in the inheritance hierarchy of the shared objects.
-
- This is not all clear to me... Can you elaborate on why you believe that
- Jordan's method does not support intra-object references?
-
- -------------------------------------------------------------------------
- Jim Meyers | Voice: 919-543-5999
- IBM Networking Systems | Fax: 919-543-1286
- LAN Systems Workstation Technology |
- Research Triangle Park, NC 27709 | Internet: jimi@vnet.ibm.com
- -------------------------------------------------------------------------
-