mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-31 22:15:23 +00:00
[#1147] Add space
This commit is contained in:
@@ -57,7 +57,7 @@ public:
|
|||||||
gate1_.wait(lk, [=]() { return (!writeEntered()); });
|
gate1_.wait(lk, [=]() { return (!writeEntered()); });
|
||||||
state_ |= WRITE_ENTERED;
|
state_ |= WRITE_ENTERED;
|
||||||
// Wait until there are no more readers.
|
// Wait until there are no more readers.
|
||||||
gate2_.wait(lk, [=]() { return (readers() == 0);});
|
gate2_.wait(lk, [=]() { return (readers() == 0); });
|
||||||
}
|
}
|
||||||
|
|
||||||
/// @brief Unlock write.
|
/// @brief Unlock write.
|
||||||
|
Reference in New Issue
Block a user