diff --git a/examples/server/server.cpp b/examples/server/server.cpp index 08bf0070a19a6..bc5e02a30d5a0 100644 --- a/examples/server/server.cpp +++ b/examples/server/server.cpp @@ -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