Can I boot the kernel at the kernel level in Linux v2.6 kernel and is there a way to find out the thread level in my thread?
1 answer
PTHREAD_SCOPE_PROCESS
not supported on Linux, but the pthread scope has nothing to do with whether you get a kernel level thread or not.
Modern Linux pthreads implementation uses a 1: 1 mapping between pthreads and kernel threads, so you will always get a kernel-level thread with pthread_create()
.
+4
a source to share