mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-06-29 12:35:16 +00:00
shadow : cont gcc
ggml-ci
This commit is contained in:
@ -255,8 +255,8 @@ public:
|
||||
thrd = std::thread([this]() {
|
||||
while (true) {
|
||||
{
|
||||
std::unique_lock<std::mutex> lock(mtx);
|
||||
cv.wait(lock, [this]() { return head != tail; });
|
||||
std::unique_lock<std::mutex> lock_thrd(mtx);
|
||||
cv.wait(lock_thrd, [this]() { return head != tail; });
|
||||
|
||||
cur = entries[head];
|
||||
|
||||
|
Reference in New Issue
Block a user