diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 1998-02-19 19:54:52 +0200 |
---|---|---|
committer | Malcolm Beattie <mbeattie@sable.ox.ac.uk> | 1998-02-20 12:51:42 +0000 |
commit | d516a115cc96334486070e15a6babcd1278d8de9 (patch) | |
tree | 590f1929dc6a081deeb2172c4f6674a11c4e5f61 /ext/Thread/Thread.pm | |
parent | 156620fa44a712d84367040dea35ac6eae776347 (diff) | |
download | perl-d516a115cc96334486070e15a6babcd1278d8de9.tar.gz |
retry [PATCH] 5.004_59: the perlhist.pod etc
p4raw-id: //depot/perl@557
Diffstat (limited to 'ext/Thread/Thread.pm')
-rw-r--r-- | ext/Thread/Thread.pm | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/ext/Thread/Thread.pm b/ext/Thread/Thread.pm index 48ca3047b9..cf7069c45d 100644 --- a/ext/Thread/Thread.pm +++ b/ext/Thread/Thread.pm @@ -8,6 +8,38 @@ $VERSION = "1.0"; @ISA = qw(Exporter DynaLoader); @EXPORT_OK = qw(yield cond_signal cond_broadcast cond_wait async); +=head1 NAME + +Thread - multithreading + +=head1 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'; + +=head1 DESCRIPTION + +The C<Threads> module provides multithreading. + +=head1 SEE ALSO + +L<attrs>, L<Thread::Queue>, L<Thread::Semaphore>, L<Thread::Specific>. + +=cut + # # Methods # |