shadow : cont gcc
ggml-ci
This commit is contained in:
parent
f65e3d324d
commit
10eb87409e
12 changed files with 509 additions and 511 deletions
|
@ -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];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue