Hi Folks,
>> There is no need to have special read/write as long as the memory file is
>> used on the same machine(which is typically the case). If you want a
>> portable object serialization you can try ACE_CDR or boost::serialization.
For examples of "higher-level" abstractions atop raw shared memory,
check out the ACE_Malloc<> and ACE_MEM_SAP abstractions in ACE. There
are examples in
$ACE_ROOT/tests/
$ACE_ROOT/examples/Shared_Malloc/
$ACE_ROOT/examples/IPC_SAP/SOCK_SAP/
Take care,
Doug
--
Dr. Douglas C. Schmidt Professor and Associate Chair
Electrical Engineering and Computer Science TEL: (615) 343-8197
Institute for Software Integrated Systems WEB:
www.dre.vanderbilt.edu/~schmidt
Vanderbilt University, Nashville TN, 37203 NET: d.schmidt@...