next up previous contents
Next: Nonblocking communication Up: Point-to-Point Communication Previous: Semantics of point-to-point communication   Contents

Buffer allocation and usage

void MPI.Buffer_attach(byte [] buffer)
Java binding of the MPI operation MPI_BUFFER_ATTACH. The value of size is taken to be size of the buffer argument.

byte [] MPI.Buffer_detach()
Java binding of the MPI operation MPI_BUFFER_DETACH. The return value is buffer. The size of the returned arrray is size.

The constant MPI_BSEND_OVERHEAD is available as MPI.BSEND_OVERHEAD.



Bryan Carpenter 2002-07-12