removed sleep
This commit is contained in:
parent
7d39de9e20
commit
6eb9727cb8
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@ namespace thread {
|
||||||
_connectJob();
|
_connectJob();
|
||||||
while (!_done) {
|
while (!_done) {
|
||||||
_queue.push(_job());
|
_queue.push(_job());
|
||||||
Sleep(10);
|
//Sleep(10);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue