Reverse integrate Malcolm's chanes into local
[p5sagit/p5-mst-13.2.git] / ext / Thread / join.t
CommitLineData
d9bb3666 1use Thread;
2sub foo {
3 print "In foo with args: @_\n";
4 return (7, 8, 9);
5}
6
7print "Starting thread\n";
8$t = new Thread \&foo, qw(foo bar baz);
9print "Joining with $t\n";
10@results = $t->join();
11print "Joining returned @results\n";