I read some pthread-related blogs, they all mentioned the concepts of kernel thread and user thread, but did not provide demo code.
Is the thread created by the pthread_create function of pthread a kernel thread?
How can I create a user-space thread?