diff options
Diffstat (limited to 'contrib/perl5/ext/Thread/die.t')
-rw-r--r-- | contrib/perl5/ext/Thread/die.t | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/contrib/perl5/ext/Thread/die.t b/contrib/perl5/ext/Thread/die.t deleted file mode 100644 index 6239405..0000000 --- a/contrib/perl5/ext/Thread/die.t +++ /dev/null @@ -1,16 +0,0 @@ -use Thread 'async'; - -$t = async { - print "here\n"; - die "success"; - print "shouldn't get here\n"; -}; - -sleep 1; -print "joining...\n"; -eval { @r = $t->join; }; -if ($@) { - print "thread died with message: $@"; -} else { - print "thread failed to die successfully\n"; -} |