Documentation Home >> Headers >> <thread> Header >> std::thread >> std::thread::joinable Member Function

Query whether or not *this has an associated thread of execution.

bool joinable() const;

Returns:

true if *this has an associated thread of execution, false otherwise.

Throws:

Nothing

Header

#include <thread>

See Also