title: In the Linux kernel (module programming) how to get threadids from a multithreaded process?
body: <p>current->pid gets the process id accessing the module...but I want the threadid from the process in a multithreaded program accessing my module. What is the call to do this? I can't find it anywhere!</p>