This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Change CONTEXT to PERL_CONTEXT throughout source (since the #define
[perl5.git] / ext / Thread / Thread.pm
CommitLineData
d9bb3666
MB
1package Thread;
2require Exporter;
3require DynaLoader;
4@ISA = qw(Exporter DynaLoader);
8f4f90ac 5@EXPORT_OK = qw(yield cond_signal cond_broadcast cond_wait async);
734689b1
MB
6
7#
8# Methods
9#
10
11#
12# Exported functions
13#
14sub async (&) {
15 return new Thread $_[0];
16}
d9bb3666 17
d9bb3666
MB
18bootstrap Thread;
19
d9bb3666 201;