Minor comment cleanup
This commit is contained in:
parent
95d44b804d
commit
dcaad5e9da
3 changed files with 3 additions and 3 deletions
|
|
@ -285,7 +285,7 @@ namespace SimpleWeb {
|
|||
return std::unique_ptr<SharedLock>(new SharedLock(count));
|
||||
}
|
||||
|
||||
//// Blocks until all shared locks are released, then prevents future shared locks
|
||||
/// Blocks until all shared locks are released, then prevents future shared locks
|
||||
void stop() noexcept {
|
||||
long expected = 0;
|
||||
while(!count.compare_exchange_weak(expected, -1)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue