server: concurrency issue, when 2 task are waiting for results, only one call thread is notified

This commit is contained in:
Pierrick HYMBERT 2024-02-25 12:19:34 +01:00
parent b8322be564
commit 7b29648da5

View file

@ -441,7 +441,7 @@ struct llama_server_response {
{
LOG_VERBOSE("queue_results.push_back", {});
queue_results.push_back(result);
condition_results.notify_one();
condition_results.notify_all();
return;
}
}