rust: task: Add kernel thread support

`ThreadNew` represenets a newly created thread that has not started
running yet, and `Thread` represents a started thread.

Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
2 files changed