This currently delegates to the C++ `rust_thread` class, which is pretty simple. Add bindings to the native thread types and remove the C++ code.