More Semi off Topic: SHMEM

New Message Reply Date view Thread view Subject view Author view

Arnott, Shane D (Shane.Arnott++at++Australia.Boeing.com)
Thu, 24 Jun 1999 12:07:23 +1000


Hi,

I'm trying to find a nice way to share memory between two unrelated (read no
fork no sproc etc) processes.

I have a Java UI front end that has a C++ layer underneath through JNI which
I want to talk to my C++ Vega/Performer app.

The vgMem functions only help with related processes, so they are out.

I've looked at pfDataPool but that doesn't seem suited to C++ with the only
memory allocation call being:

vol void * pfDataPool::alloc(size_t...)

It seems I have no way of doing a new on my C++ objects for both processes
to share.

Does anybody have any other ways of cleanly sharing memory across unrelated
processes, especially one suited for C++.

Thanks in advance.
___________
Shane Arnott
Boeing Australia Limited * 363 Adelaide St * Brisbane * QLD 4000
Communications & Battle Management Systems * Systems Analysis Lab
Email: Shane.D.Arnott++at++Boeing.com * Ph: +61 7 3306 3320


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Wed Jun 23 1999 - 19:07:38 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.