2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 21:45:37 +00:00
This commit is contained in:
Francis Dupont
2020-05-21 15:03:13 +02:00
parent ee31565199
commit c1e4524a0f

View File

@@ -57,7 +57,7 @@ public:
gate1_.wait(lk, [=]() { return (!writeEntered()); });
state_ |= WRITE_ENTERED;
// Wait until there are no more readers.
gate2_.wait(lk, [=]() { return (readers() == 0);});
gate2_.wait(lk, [=]() { return (readers() == 0); });
}
/// @brief Unlock write.