server: concurrency issue, when 2 task are waiting for results, only one call thread is notified
This commit is contained in:
parent
b8322be564
commit
7b29648da5
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue