#include #include "mpi.h" void MCSLockInit(MPI_Comm comm, MPI_Win * win); void MCSLockAcquire(MPI_Win win); void MCSLockRelease(MPI_Win win); void MCSLockFinalize(MPI_Win win);