Skip to content

Commit

Permalink
pop_deferred_task: also notify
Browse files Browse the repository at this point in the history
  • Loading branch information
ngxson committed Sep 6, 2024
1 parent e9313f2 commit dd7e853
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/server/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,7 @@ struct server_queue {
queue_tasks_deferred.pop_front();
queue_tasks.push_back(std::move(task));
}
condition_tasks.notify_one();
}

// end the start_loop routine
Expand Down

0 comments on commit dd7e853

Please sign in to comment.