41 auto* pyThreadState = PyEval_SaveThread();
46 PyEval_RestoreThread(pyThreadState);
48 cv_.wait(lock, [&] {
return !
funcs_.empty(); });
constexpr detail::Map< Move > move
—— Concurrent Priority Queue Implementation ——
std::condition_variable cv_
std::queue< Func > funcs_
auto lock(Synchronized< D, M > &synchronized, Args &&...args)