Thread creation using async
The async prefix causes a block to be invoked in its own thread:
my $thr = async { #`(do something) };
- - - - - -
continued...Perl 6 | Parallelism in Perl 6 | #28 |
The async prefix causes a block to be invoked in its own thread:
my $thr = async { #`(do something) };
- - - - - -
continued...
Copyright © 2013 http://www.pmichaud.com/2013/pres/ |