Skip to content

Commit 01b75ce

Browse files
author
Alessandro Fanfarillo
committed
Managing stat for sync all
1 parent c4841e8 commit 01b75ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mpi/mpi_caf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ void mutex_lock(MPI_Win win, int image_index, int index, int *stat,
275275
{
276276
const char msg[] = "Already locked";
277277
#if MPI_VERSION >= 3
278-
int value=1, compare = 0, newval = caf_this_image, i = 1,zero=0,ret=0;
278+
int value=0, compare = 0, newval = caf_this_image, i = 1,zero=0,ret=0;
279279
int flag, it = 0, check_failure = 100;
280280

281281
if(stat != NULL)

0 commit comments

Comments
 (0)