Synopsis
MPI_Fint MPI_Win_c2f(MPI_Win win)
Input Parameters
- win
-
window object (handle)
Description
MPI_Win_c2f translates a C window handle into a Fortran handle to the same window. It maps a null handle into a null handle and an invalid handle into an invalid handle. This function is provided only in C to support interlanguage operability when C wrappers are used to allow Fortran code to call C libraries or vice versa.
Thread and Interrupt Safety
This routine is thread-safe. This means that this routine may be safely used by multiple threads without the need for any user-provided thread locks. However, the routine is not interrupt safe. Typically, this is due to the use of memory allocation routines such as 'malloc' or other non-MPICH runtime routines that are themselves not interrupt-safe.