[gnu.g++.help] Virutal Functions Across Processor

mra@srchtec.uucp (Michael Almond) (01/14/91)

We are using AT&T's C++ 2.0 on Sun 3's and 4's to compile software for loading
onto several 68030 processor boards.  The boards are running VxWorks, version 4
that has been adapted to allow shared memory across processors.

If you create an object on one board and try to call a vertual method for
that instance from another board, then the virtual table on the oroginal
procesor is used to resolve the address.  Since, one processor cannot call
a function on another processor, this results in an op code error.

Is there any way to have a given instance's vtable pointer point to the
local vtable rather than the one on the other processor, or is there another
solution to the problem?

BTW, we in the process of converting to g++ and, of course, love it.

Help!!


---
Michael R. Almond (Georgia Tech Alumnus)           mra@srchtec.uucp (registered)
search technology, inc.				      mra%srchtec@salestech.com
4725 peachtree corners cir., suite 200		       emory!stiatl!srchtec!mra
norcross, georgia 30092					 (404) 441-1457 (office)
[search]: Systems Engineering Approaches to Research and Development