remove excess sleep identified in #169

This commit is contained in:
Tully Foote 2015-12-17 11:07:00 -08:00
parent bcbdd00212
commit 7422cda6c6

View file

@ -46,7 +46,6 @@ MultiThreadedExecutor::spin()
{
std::lock_guard<std::mutex> wait_lock(wait_mutex_);
for (; thread_id < number_of_threads_ - 1; ++thread_id) {
std::this_thread::sleep_for(std::chrono::milliseconds(100));
auto func = std::bind(&MultiThreadedExecutor::run, this, thread_id);
threads.emplace_back(func);
}