The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Thread - multithreading

SYNOPSIS

    use Thread;

    my $t = new Thread \&start_sub, @start_args;

    $t->join;

    my $tid = Thread->self->tid; 

    my $tlist = Thread->list;

    lock($scalar);

    use Thread 'async';

    use Thread 'eval';

DESCRIPTION

The Threads module provides multithreading.

SEE ALSO

attrs, Thread::Queue, Thread::Semaphore, Thread::Specific.