[This is preliminary documentation and is subject to change.]
Delegate describing a low-level MPI function that takes care of de-allocating
an attribute when it is deleted from a communicator (or the communicator itself
is freed).
Namespace:
MPIAssembly: MPI (in MPI.dll)
Version: 0.9.0.0 (0.9.0.0)
Syntax
| C# |
|---|
public delegate int MPI_Delete_function( int comm, int keyval, IntPtr attribute_val, IntPtr extra_state ) |
| Visual Basic (Declaration) |
|---|
Public Delegate Function MPI_Delete_function ( _ comm As Integer, _ keyval As Integer, _ attribute_val As IntPtr, _ extra_state As IntPtr _ ) As Integer |
| Visual C++ |
|---|
public delegate int MPI_Delete_function( int comm, int keyval, IntPtr attribute_val, IntPtr extra_state ) |
Parameters
- comm
- Type: System..::.Int32
The communicator.
- keyval
- Type: System..::.Int32
The attribute being removed from the communicator.
- attribute_val
- Type: System..::.IntPtr
The value of this attribute in the communicator.
- extra_state
- Type: System..::.IntPtr
The extra state provided by the user in MPI_Keyval_create(Unsafe..::.MPI_Copy_function, Unsafe..::.MPI_Delete_function, Int32%, IntPtr).
Remarks
Often used when the attribute's value is a pointer to some per-communicator
data, and the pointer needs to be freed. This function will be defined automatically
by MPI.NET when a new Attribute is created, and will vary
depending on the type of the attribute and on the requested AttributeDuplication.