changed mutex to recursive_mutex
This commit is contained in:
parent
5b38b07e8c
commit
cb338ca607
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue