New request access function

Marc Snir (snir@watson.ibm.com)
Mon, 05 Feb 1996 11:06:02 -0500

-:) -:) -:) *** (:- (:- (:-

At the Vienna meeting, it was suggested that the a function that allows
nondestructive access to (nonpersistent) request objects would be useful. I
propose the following syntax:

MPI_GET_STATUS(request, flag, status)

Sets flag=true if the request has completed, and, if so, returns in status the
request status. However, unlike test or wait, it does not deallocate or
inactivate the request; a subsequent call to test, wait or free should be
executed with that request.

This call is useful in handlers to access the information associated with a
request, without deleting the request (in case the user is expected to access
it after the handler). It allows to layer libraries more conveniently, since
multiple layers of software may access the same completed request and extract
from it the status information. This will be alos important for language
interoperability, if we decide that status objects cannot be transfered.

This proposla should be either in the external chapter or the misc chapter.

Marc Snir
IBM T.J. Watson Research Center
P.O. Box 218, Yorktown Heights, NY 10598
email: snir@watson.ibm.com
phone: 914-945-3204
fax: 914-945-4425
URL: http://www.research.ibm.com/people/s/snir