home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / cplus / 19866 < prev    next >
Encoding:
Internet Message Format  |  1993-01-25  |  1.7 KB

  1. Path: sparky!uunet!vnet.ibm.com
  2. From: jimi@vnet.ibm.com (Jim Meyers)
  3. Message-ID: <19930125.084616.825@almaden.ibm.com>
  4. Date: Mon, 25 Jan 93 10:37:05 EST
  5. Newsgroups: comp.lang.c++
  6. Subject: Re: Objects in Shared Memory
  7. Lines: 35
  8.  
  9. In <1993Jan19.174651.24907@hellgate.utah.edu> clark%asylum.cs.utah.edu@cs.utah.edu (Charles Clark) writes:
  10. >In article <1993Jan19.082043.4341@dxcern.cern.ch> pvv@cern.decnet.cern.ch () writes:
  11. >>
  12. >>Has anyone tried to do share objects between processes ?
  13. >
  14. >Yes.
  15. >
  16. >>Any advice or reference to an article or a book would be appreciated.
  17. >
  18. >A paper that addresses this problem is:
  19. >
  20. >David Jordan, ``Instantiation of C++ Objects in Shared Memory''.  In ``C++
  21. >at Work '89''.
  22. >
  23. > ...
  24. >
  25. >One way to solve this problem, and the one espoused in the above
  26. >article, is to coordinate the location of virtual function tables within
  27. >all processes accessing shared objects.  Thus, the virtual function
  28. >table for a particular class will reside at the same memory location
  29. >in each process.
  30. >
  31. >The first of these approaches is not complete in that it does not
  32. >address the problem of intra-object references.  Thus, virtual base classes
  33. >can not be used in the inheritance hierarchy of the shared objects.
  34.  
  35. This is not all clear to me... Can you elaborate on why you believe that
  36. Jordan's method does not support intra-object references?
  37.  
  38. -------------------------------------------------------------------------
  39. Jim Meyers                           | Voice:    919-543-5999
  40. IBM Networking Systems               | Fax:      919-543-1286
  41. LAN Systems Workstation Technology   |
  42. Research Triangle Park, NC 27709     | Internet: jimi@vnet.ibm.com
  43. -------------------------------------------------------------------------
  44.