remove redundant calls to set spinning false

This commit is contained in:
William Woodall 2015-11-16 17:30:01 -08:00
parent 2b342357d9
commit f1e7ea5ca0
3 changed files with 0 additions and 4 deletions

View file

@ -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

View file

@ -55,7 +55,6 @@ MultiThreadedExecutor::spin()
for (auto & thread : threads) {
thread.join();
}
spinning.store(false);
}
size_t

View file

@ -36,5 +36,4 @@ SingleThreadedExecutor::spin()
auto any_exec = get_next_executable();
execute_any_executable(any_exec);
}
spinning.store(false);
}