Skip to content

Commit af6f0f7

Browse files
committed
adjust comment
Signed-off-by: Thomas Naughton <[email protected]>
1 parent 6989cb3 commit af6f0f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ompi/errhandler/errcode.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ int ompi_mpi_errcode_remove(int errnum)
449449
opal_mutex_unlock(&errcode_lock);
450450

451451
/*
452-
* Return lastused value to ensure outside caller has
452+
* Return lastused value captured under lock so caller has
453453
* consistent value to set MPI_LASTUSEDCODE attribute.
454454
* On error, we return less than zero (e.g., OMPI_ERROR).
455455
*/
@@ -488,7 +488,7 @@ int ompi_mpi_errclass_remove(int errclass)
488488
opal_mutex_unlock(&errcode_lock);
489489

490490
/*
491-
* Return lastused value to ensure outside caller has
491+
* Return lastused value captured under lock so caller has
492492
* consistent value to set MPI_LASTUSEDCODE attribute.
493493
* On error, we return less than zero (e.g., OMPI_ERROR).
494494
*/

0 commit comments

Comments
 (0)