This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
## use threads; ## Uncomment if threads is desired | |
use MCE::Flow 1.600; ## Requires v1.600 to run | |
## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
# mce_mojolicious.pl | |
# based on https://gist.github.com/tardisx/9088819 | |
# using MCE::Hobo and MCE::Shared | |
=pod | |
Using Mojolicious and L<MCE> for forked independant workers, | |
communicating via L<MCE::Queue>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
# Parallel demonstration for Monte Carlo Pi Calculation | |
# https://gist.github.com/dmr3/f435e84fb26f4de2e0c8e1f2d2e74f9b | |
# | |
# Original source by Demian Riccardi | |
# Parallel demonstration by Mario Roy | |
use Mojolicious::Lite; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
# Parallel demonstration for Recurring Monte Carlo Pi Calculation | |
# https://gist.github.com/dmr3/e69127ab449bdabd5af7b000c9b5b3b1 | |
# | |
# Original source by Demian Riccardi, Joel Berger | |
# Parallel demonstration by Mario Roy | |
use Mojolicious::Lite; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
# http://osgeo-org.1560.x6.nabble.com/gdal-dev-Experiments-with-multiprocessing-td5311397.html | |
# Demonstration - August 25, 2017 | |
# Use MCE 1.830 or later | |
use strict; | |
use warnings; | |
use MCE; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
# http://osgeo-org.1560.x6.nabble.com/gdal-dev-Experiments-with-multiprocessing-td5311397.html | |
# Demonstration - August 25, 2017 | |
# Use MCE 1.830 or later | |
use strict; | |
use warnings; | |
use feature qw( state ); |
OlderNewer