Implement grnxx::Thread.
Add tests for grnxx::Thread.