xref: /openbsd-src/gnu/usr.bin/perl/lib/perl5db/t/rt-124203 (revision 18270f79f17989f9cfedd96c0d9a34fd91cdb415)
1use threads;
2my $thr = threads->create(\&sub1);
3sub sub1 {
4   print("In the thread\n");
5}
6$thr->join;
7print "Finished\n";