1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 17:40:36 +00:00

changed mutex to recursive_mutex

This commit is contained in:
Zeno Rogue 2020-01-16 19:19:44 +01:00
parent 5b38b07e8c
commit cb338ca607

View File

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