Skip to content

Commit

Permalink
#576 switch to std::_Exit for consistency
Browse files Browse the repository at this point in the history
- std::_Exit is a little more 'abrupt' than C's exit
  in that it does less flushing and will not call registered
  at-exit's.. I guess, consistency is better? Maybe.
  • Loading branch information
pnstickne authored and lifflander committed Jun 11, 2020
1 parent 57d9886 commit e237ab6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/vt/runtime/runtime.cc
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,7 @@ Runtime::Runtime(
}

MPI_Abort(comm, exit_code);
exit(exit_code);
return;
std::_Exit(exit_code); // no return
}

sig_user_1_ = false;
Expand Down

0 comments on commit e237ab6

Please sign in to comment.