projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Munge pseudo-Configure stuff to add -thread to archname as
[p5sagit/p5-mst-13.2.git]
/
ext
/
Thread
/
Thread.pm
diff --git
a/ext/Thread/Thread.pm
b/ext/Thread/Thread.pm
index
2ace5dd
..
1936142
100644
(file)
--- a/
ext/Thread/Thread.pm
+++ b/
ext/Thread/Thread.pm
@@
-15,6
+15,10
@@
sub async (&) {
return new Thread $_[0];
}
+sub eval {
+ return eval { shift->join; };
+}
+
bootstrap Thread;
1;