Skip to content

Commit

Permalink
Update task_queue.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Atream authored Aug 12, 2024
1 parent cb7f8e7 commit 3c675af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ktransformers/ktransformers_ext/cpu_backend/task_queue.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class custom_mutex {
#ifdef _WIN32
ReleaseMutex(global_mutex);
#else
global_mutex.lock();
global_mutex.unlock();
#endif
}
};
Expand All @@ -74,4 +74,4 @@ class TaskQueue {
std::atomic<bool> sync_flag;
std::atomic<bool> exit_flag;
};
#endif
#endif

0 comments on commit 3c675af

Please sign in to comment.