Keep It Simple, Stupid | |
PerlMonks |
Re: Yet another example to get URLs in parallelby marioroy (Prior) |
on Jun 17, 2017 at 18:08 UTC ( [id://1193019]=note: print w/replies, xml ) | Need Help?? |
Hi karlgoethebier, Let's imagine for a minute, the following statement.
The statement above is causing MCE workers to run serially, not parallel. I've gone back to your earlier example here and that looks fine. However for this thread, maybe running solo is what karlgoethebier intended and respecting his decision to do so. Surely, he wanted the code to run parallel ;-).
A mutex isn't needed when IPC involves a single trip, typical for the OO interface.
A mutex is often necessary for a shared hash when constructed via the TIE interface.
Regards, Mario
In Section
Cool Uses for Perl
|
|