Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: Parallel::ForkManager dies with "Free to wrong pool..."

by perlygapes (Sexton)
on Apr 25, 2020 at 03:38 UTC ( [id://11116053]=note: print w/replies, xml ) Need Help??


in reply to Re: Parallel::ForkManager dies with "Free to wrong pool..."
in thread Parallel::ForkManager dies with "Free to wrong pool..."

OK, coming back to this from my other question regarding PostgreSQL, I am running this on Windows and you mention that Windows ignores the POSIX exit.
Can you tell me how this should change to run successfully on Windows?

Thank you.
  • Comment on Re^2: Parallel::ForkManager dies with "Free to wrong pool..."

Replies are listed 'Best First'.
Re^3: Parallel::ForkManager dies with "Free to wrong pool..."
by marioroy (Prior) on Apr 25, 2020 at 19:00 UTC

    Hi perlygapes,

    No changes needed on the Windows platform. The Hobo script in the prior post works. Append the script with the missing subroutines found here.

    sub the_task_I_gave_cain_to_do { ... } sub the_task_I_gave_abel_to_do { ... } sub the_task_I_gave_seth_to_do { ... } sub the_task_I_gave_noah_to_do { ... } sub the_task_I_gave_shem_to_do { ... }

    Output from Strawberry Perl 5.30.1:

    Forming 5 children. Today, I have begotten child 1 as Cain Today, I have begotten child 2 as Abel Cain is working. Today, I have begotten child 3 as Seth Abel is working. Today, I have begotten child 4 as Noah Seth is working. Today, I have begotten child 5 as Shem Noah is working. Waiting on begotten childen... Shem is working. Child Cain exiting

    Regards, Mario

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11116053]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (1)
As of 2024-04-23 16:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found