removed sleep

This commit is contained in:
Xisco Bosch 2017-03-13 19:53:13 +01:00 committed by nsubiron
parent 7d39de9e20
commit 6eb9727cb8
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ namespace thread {
T value; T value;
_queue.wait_and_pop(value); _queue.wait_and_pop(value);
_job(value); _job(value);
Sleep(10); //Sleep(10);
} }
} }

View File

@ -42,7 +42,7 @@ namespace thread {
_connectJob(); _connectJob();
while (!_done) { while (!_done) {
_queue.push(_job()); _queue.push(_job());
Sleep(10); //Sleep(10);
} }
} }