mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-17 13:07:54 +02:00
scheduler: Remove unused REVERSE_LOCK
No longer needed after commit d61f2bb076
This commit is contained in:
parent
55b4c65bd1
commit
fa609c4f76
1 changed files with 0 additions and 3 deletions
|
|
@ -30,9 +30,6 @@ void CScheduler::serviceQueue()
|
||||||
// is called.
|
// is called.
|
||||||
while (!shouldStop()) {
|
while (!shouldStop()) {
|
||||||
try {
|
try {
|
||||||
if (!shouldStop() && taskQueue.empty()) {
|
|
||||||
REVERSE_LOCK(lock);
|
|
||||||
}
|
|
||||||
while (!shouldStop() && taskQueue.empty()) {
|
while (!shouldStop() && taskQueue.empty()) {
|
||||||
// Wait until there is something to do.
|
// Wait until there is something to do.
|
||||||
newTaskScheduled.wait(lock);
|
newTaskScheduled.wait(lock);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue