I understand the difference between a process and a thread. And I know the difference between a user thread and a kernel thread.
Question
How do you code any of them in C? All I know in C is how to create POSIX threads, but is this user threads or kernel threads?
Can anyone put some C code samples for a process, user thread and a kernel thread.
Are there any type of threads that I did not include?