SFML community forums
Help => System => Topic started by: Richy19 on October 25, 2013, 12:07:14 pm
-
Is there anyway to check if a thread is still alive in SFML?
-
Not with SFML function, but you can simply use a std::atomic<bool> or std::atomic_flag (C++11 features) and set it once the thread finishes. ;)