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.
|
|---|