Fix the bug

Signed-off-by: JCW <a1q123456@users.noreply.github.com>
This commit is contained in:
JCW
2025-09-18 09:31:37 +01:00
parent 6fd30ebde1
commit 9a30560f53

View File

@@ -65,6 +65,7 @@ public:
private:
enum class CoroState { None, Suspended, Running, Finished };
std::atomic_bool exiting_ = false;
detail::LocalValues lvs_;
JobQueue& jq_;
JobType type_;
@@ -76,8 +77,6 @@ public:
boost::coroutines::asymmetric_coroutine<void>::pull_type coro_;
boost::coroutines::asymmetric_coroutine<void>::push_type* yield_;
std::atomic_bool exiting_ = false;
public:
// Private: Used in the implementation
template <class F>