On Tue, Feb 10, 2009 at 2:15 PM, soumen acharya <soumen.acharya@xxxxxxxxxxx> wrote: > > > Hi, > > > Is it possible to get thread id information from task_struct structure. > > My point is.... > Say a user process creates multiple threads, how does kernel handles each > thread (thread to task mapping.) kernel does not handle each of them. There is a user space scheduler which takes care of them. Kernel is oblivious to usespace threads. HTH --Pradeep > > Does it create unique task for each user thread, if so then how to identify > each user thread from the kernel task structure, like which field to look > for the information. > > Thanks > Soumen > IIIT Bangalore > 26/C Electronics City > Bangalore 560 100 INDIA > Mobile-(+91)9916596352 > > -- Pradeep -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ