Thanks in advance. Another question, what's the thread id returned by
pthread_self() ? Is there an field in task_struct ?
Regard,
Cheng
I "guess" the 'pid' field of task_struct would be returned, as pthread_self() by definition returns the calling thread's ID which in the kernel should be the thread's pid.Somebody please CMIIW.
--
"There are 10 people in the world - those who understand binary and those who dont !"