235 Subj : Re: Linux NPTL anomally To : comp.programming.threads From : Chris Friesen Date : Wed Sep 28 2005 10:53 am dmarkh@cfl.rr.com wrote: > I have a multi threaded app. The app is running and all the threads > have started and are sleeping. The main process calls a function in a > kernel module that among other things, registers the main processes pid > via "pid = current->pid". For a threaded app, current->pid is the thread id. The userspace process ID is actually stored in the kernel as current->tgid. (Thread group ID) Chris . 0