A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix a race condition spotted by TSan
[simgrid.git]
/
src
/
s4u
/
s4u_host.cpp
diff --git
a/src/s4u/s4u_host.cpp
b/src/s4u/s4u_host.cpp
index
7846f76
..
c36d9ec
100644
(file)
--- a/
src/s4u/s4u_host.cpp
+++ b/
src/s4u/s4u_host.cpp
@@
-69,7
+69,7
@@
Host::~Host()
*/
void Host::destroy()
{
- if (
!
currentlyDestroying_) {
+ if (
not
currentlyDestroying_) {
currentlyDestroying_ = true;
onDestruction(*this);
host_list.erase(name_);