名前¶ threads - インタプリタスレッドの使用を可能にするPerl拡張 概要¶ use threads; sub start_thread { print "Thread started\n"; } my $thread = threads->create("start_thread","argument"); my $thread2 = $thread->create(sub { print "I am a thread"},"argument"); my $thread3 = async { foreach (@files) { ... } }; $thread->join(); $thread->detach(); $thread = threads->self(); $thread = threads->object( $tid ); $thread->tid(); thr