Threads.cpp: Fix infinite looping

This commit is contained in:
Eladash 2023-04-26 22:39:26 +03:00 committed by Ivan
parent 5d13978bbf
commit 3d8d9ef61c
2 changed files with 12 additions and 19 deletions

View file

@ -95,7 +95,7 @@ class thread_future
shared_ptr<thread_future> next{};
shared_ptr<thread_future>* prev{};
thread_future* prev{};
protected:
atomic_t<void(*)(thread_base*, thread_future*)> exec{};