A C11 and C++11 pthreads permit object. With adaptors for Boost.Thread and Boost.Expected