changed mutex to recursive_mutex

This commit is contained in:
Zeno Rogue 2020-01-16 19:19:44 +01:00
parent 5b38b07e8c
commit cb338ca607
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ struct fpattern {
struct discovery {
fpattern experiment;
std::shared_ptr<std::thread> discoverer;
std::mutex lock, slock;
std::recursive_mutex lock, slock;
bool is_suspended;
bool stop_it;