Mihai Vlad wrote:
I'm interested how can i get the pid of a started thread in perl the $$ variabile return the pid of the process that lounches the thread... does anyone know how can i do this, without the Thread::Signal module wich i can't seem to be able to use?
I'm using :
This is perl, v5.8.4 built for i686-linux-thread-multi
on a Gentoo Linux (2.4.6 kernel version)
perldoc threads ?
use threads; $thread = threads->self();
or just threads->self()->tid;
David
