Front page | perl.perl6.users |
Postings from November 2018
exceptions in threads
Thread Next
From:
Brian Duggan
Date:
November 10, 2018 12:59
Subject:
exceptions in threads
Message ID:
20181110125930.GA32235@localhost
Hi Perl 6 Users,
What's the best way to know that an exception
occurred in another thread, e.g.
$ perl6 -e 'start say("hi"); sleep 1'
hi
$
but
$ perl6 -e 'start die("bye"); sleep 1'
$
I thought maybe $*SCHEDULER.uncaught_handler
would help out here, but it didn't seem to.
thanks
Brian
Thread Next
-
exceptions in threads
by Brian Duggan