Re: New errhandler text

Dick Treumann (treumann@kgn.ibm.com)
Wed, 7 May 1997 10:50:57 -0400

Does not Jeff's proposal imply that an MPI object handle is "really"
a pointer to the object. If an MPI_Comm is really a Comm_Obj* and an
MPI_Win is a Win_Obj* then both can be passed as void*. The MPI
standard is explicit in saying they NEED NOT BE POINTERS.

I do not know if this suggestion runs into problems when a handle
is something other than a pointer (an int probably) but those
considering this change must assure everyone no problem will
show up.

I think suitable use of casting can solve the problem in C
but I do not know for C++. Within my MPI implementation's
C code which calls these functions I will need to cast my
handle to void* to be able to pass it to such a callback.
If the impact in C++ is no worse then I have no objection.

Dick

Dick Treumann IBM RS/6000 Division
(Internet) treumann@pok.ibm.com Poughkeepsie, NY
(VNET) TREUMANN at KGNVMC Tel: (914) 433-7846
(internal) treumann@windsurf.pok.ibm.com Fax: (914) 433-8363