in reply to how to estimate thread state

is_joinable has been part of threads since v1.34 (July 2006). Why don't you upgrade your version of threads?