in reply to Which process management module to switch from Coro?

Why not simply use threads instead?

Also, I think that Coro should work again, at least, I'm using it with 5.20 without patches and I think it works with 5.24+ as well.

  • Comment on Re: Which process management module to switch from Coro?

Replies are listed 'Best First'.
Re^2: Which process management module to switch from Coro?
by morgon (Priest) on Dec 31, 2016 at 18:30 UTC
    Not quite it seems.

    Coro installs cleanly for 5.20.3 but fails to compile for 5.24.0.

Re^2: Which process management module to switch from Coro?
by sleet (Pilgrim) on Dec 30, 2016 at 21:32 UTC
    Threads aren't an option if your perl isn't compiled to support them. And last I checked, they only worked well under Windows. Coro doesn't compile on OS X with 5.24 and you can see on the CPAN Testers page that there are many other failures: http://www.cpantesters.org/distro/C/Coro.html

      If you can't recompile your Perl to use threads, maybe Parallel::ForkManager can help you to parallelize your requests enough?

        As I said in my OP, I don't have a problem parallelizing, I have an issue with coordinating the parallel processes.
      I'm using perl 5.20 until Coro is patched to work with later versions.