in reply to Re^4: Problems using module Async
in thread Problems using module Async

Is there some ID for threads?

Yes. It called the thread id: my $thread = threads->create(... ); my $tid = $thread->tid;

That said, thread handles are also unique, so you could also use that as a key in your hash.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
In the absence of evidence, opinion is indistinguishable from prejudice.