async fn thread_loop(thread: Arc<Thread>)
The thread_loop future represents the lifetime of a user thread.
thread_loop