Am a newbie to OS ,
So, I want to know about the pthread_create (Standardized Interface ) in Linux ?
What type of thread it creates ? User Level Thread or Kernel Level Thread ? Justify !
Am a newbie to OS , So, I want to know about the pthread_create
Share
PThreads in Linux gives you kernel-level threads, not user-level.
This is obvious if you look at the man page for pthreads: (look for the word
Both):In this context, the word “Both” refers to the now unsupported LinuxThreads implementation, and the newer NPTL (Native POSIX Threads Library) in glibc.
See also this answer to get an understanding on how kernel thread scheduling works under Linux.