* pass an ompi_win_t, not an ompi_win_t*
This commit was SVN r8866.
Этот коммит содержится в:
родитель
44a516d966
Коммит
514e58c49a
@ -46,7 +46,7 @@ int MPI_Win_free(MPI_Win *win)
|
|||||||
/* we allow users to be in an epoch, because that tends to
|
/* we allow users to be in an epoch, because that tends to
|
||||||
happen with people using MPI_FENCE. However, do not allow
|
happen with people using MPI_FENCE. However, do not allow
|
||||||
users to be in a Lock / Unlock or a PWSC synchronization */
|
users to be in a Lock / Unlock or a PWSC synchronization */
|
||||||
mode = ompi_win_get_mode(win);
|
mode = ompi_win_get_mode(*win);
|
||||||
if (0 != (mode & (OMPI_WIN_POSTED | OMPI_WIN_STARTED |
|
if (0 != (mode & (OMPI_WIN_POSTED | OMPI_WIN_STARTED |
|
||||||
OMPI_WIN_LOCK_ACCESS))) {
|
OMPI_WIN_LOCK_ACCESS))) {
|
||||||
return OMPI_ERRHANDLER_INVOKE(MPI_COMM_WORLD,
|
return OMPI_ERRHANDLER_INVOKE(MPI_COMM_WORLD,
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user