diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2020-08-01 11:11:41 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-01 11:11:41 -0400 |
| commit | 592fa7310492392440ee73f4cc0f962c66d5aba7 (patch) | |
| tree | 82d6fd20140acd8bbd9cbd9a953ac3c18019111e /src/envfs.h | |
| parent | 9d3281fd58e41f4320f36710a1a36f9ece1efdc6 (diff) | |
| parent | 64ba6cae1e6b74929d88de628bb2915cb9c6f2d2 (diff) | |
Merge pull request #1176 from isanae/2.3.1-fixes
2.3.1 fixes
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() |
