remove redundant calls to set spinning false
This commit is contained in:
parent
2b342357d9
commit
f1e7ea5ca0
3 changed files with 0 additions and 4 deletions
|
@ -118,7 +118,6 @@ Executor::spin_some()
|
|||
while ((any_exec = get_next_executable(std::chrono::milliseconds::zero())) && spinning.load()) {
|
||||
execute_any_executable(any_exec);
|
||||
}
|
||||
spinning.store(false);
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -132,7 +131,6 @@ Executor::spin_once(std::chrono::nanoseconds timeout)
|
|||
if (any_exec) {
|
||||
execute_any_executable(any_exec);
|
||||
}
|
||||
spinning.store(false);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -55,7 +55,6 @@ MultiThreadedExecutor::spin()
|
|||
for (auto & thread : threads) {
|
||||
thread.join();
|
||||
}
|
||||
spinning.store(false);
|
||||
}
|
||||
|
||||
size_t
|
||||
|
|
|
@ -36,5 +36,4 @@ SingleThreadedExecutor::spin()
|
|||
auto any_exec = get_next_executable();
|
||||
execute_any_executable(any_exec);
|
||||
}
|
||||
spinning.store(false);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue