stdthread is a self-contained C++17 threading library implemented with
pthread. It is fully compatible with the standard library's std::thread.
The implementation of stdthread is based on LLVM's libc++, licensed under the Apache License v2.0 with LLVM Exceptions. However, it only relies on the C++ standard library, can be built with any other C++ standard library implementations, like libstdc++.
A lightweight version of stdthread is also available. Please see minithread.