Closed llxxee closed 4 years ago
invTbl.clear(); in op.hpp is not thread-safe. It can cause segfault when initPairing() is called in multiple threads.
invTbl.clear();
op.hpp
initPairing()
It is a specification of this library. https://github.com/herumi/mcl/blob/master/api.md#thread-safety
@herumi thanks!
invTbl.clear();
inop.hpp
is not thread-safe. It can cause segfault wheninitPairing()
is called in multiple threads.