已合并
fix mem_pool stuck #898
纪涛创建于 4月15日
fix mem_pool stuck #898
已合并
纪涛创建于 4月15日
共 1 个文件变更+0-1
@@ -33,7 +33,6 @@ class MemPool {
33 }33 }
34 34 
35 std::vector<bool> LookUp(const std::vector<std::string> &keys) {35 std::vector<bool> LookUp(const std::vector<std::string> &keys) {
36- py::gil_scoped_acquire gil;
37 PyGILState_STATE state = PyGILState_Ensure();36 PyGILState_STATE state = PyGILState_Ensure();
38 std::vector<bool> res(keys.size(), false);37 std::vector<bool> res(keys.size(), false);
39 if (keys.empty()) {38 if (keys.empty()) {