Using objects in shared memory for C++ application

  • Authors:
  • Lenny Hon

  • Affiliations:
  • 1150 Eglinton Ave. E., North York, Ontario, M3C 1H7

  • Venue:
  • CASCON '94 Proceedings of the 1994 conference of the Centre for Advanced Studies on Collaborative research
  • Year:
  • 1994

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper presents a design for instantiating C++ objects in shared memory to facilitate communication between processes of an application. Issues related to static data members and virtual function tables of the C++ classes of these shared objects are discussed. To protect the data integrity of the shared objects, concurrency control is needed to synchronize their invocation by multiple threads of execution. A scheme for adding concurrency control to shared objects is presented that enables an application to choose different synchronization policies for objects of the same class to meet the needs of specific requirements.