mirror of
https://github.com/NixOS/nix
synced 2025-07-07 10:11:47 +02:00
Made remountRequired atomic to avoid concurrency issues.
This commit is contained in:
parent
ca1a108dad
commit
3a9fe1a085
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ private:
|
||||||
|
|
||||||
void remountIfNecessary();
|
void remountIfNecessary();
|
||||||
|
|
||||||
bool _remountRequired = false;
|
std::atomic_bool _remountRequired = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue