1:1 threading model in Linux 2.6 --pthread
I am new to linux . I have gone thorugh some documents about pthread (NTPL ) in linux 2.6 kernel . As per that linux uses 1: 1 threading model and for each user level thread there is kernel level thread . Pthread_create uses clone system call to create a LWP and the kernel could treat that as a LWP and do scheduling and all .( different from linuxthread) . My question is what's meant by there is kernel level thread for each pthread created . Can I see the kernel level thread if I call pthread_create using ps .
What exactly meant by 1:1 .I mean for each user level thread there is kernel level thread . If I make a system call from a thread does the OS services that action via kernel thread ( created using kernel_thread () or some other way ) internally ..