diff options
Diffstat (limited to 'src/envfs.h')
| -rw-r--r-- | src/envfs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/envfs.h b/src/envfs.h index bbc27005..e4d98d71 100644 --- a/src/envfs.h +++ b/src/envfs.h @@ -1,6 +1,7 @@ #ifndef ENV_ENVFS_H #define ENV_ENVFS_H +#include "thread_utils.h" #include <thread> namespace env @@ -125,7 +126,7 @@ private: ThreadInfo() : busy(true), ready(false), stop(false) { - thread = std::thread([&]{ run(); }); + thread = MOShared::startSafeThread([&]{ run(); }); } ~ThreadInfo() |
