Hi,

I read that there is support for User level threads in the Linux kernel (from 2.4 onwards) i.e for each user level thread (like Pthread) the kernel creates an lwp (and a 'task_struct' structure for it).

1. If this is true does it mean that when I run a c pgm which creates and runs 2 pthreads I will be creating 2 lwps ?

2. If the answer to the above Ques is yes, then which scheduler is responsible for switching between the LWPs (threads ?), the linux scheduler or the Pthread specific scheduler ?

3. Please guide me to some documentation/reference on "support for user level threads in the kernel"

Thanks,
Prasad.

P.S: In your response please mark a copy to this id also, I have put in a request for subscription but haven't got the instructions/confirmation mail from the LIH sourceforge server till now. Thanks.
___________________________________________________
Click below to experience Sooraj R Barjatya's latest offering
'Main Prem Ki Diwani Hoon' starring Hrithik, Abhishek
& Kareena http://www.mpkdh.com




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to