Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Forking child process gives me an error: Attempt to free unreferenced scalar

by Corion (Pope)
on Feb 27, 2013 at 07:51 UTC ( #1020814=note: print w/ replies, xml ) Need Help??


in reply to Forking child process gives me an error: Attempt to free unreferenced scalar

If you are on Windows, you shouldn't use <c>fork()/<c>. 5.6.1 has threads, so maybe you can use threads.

I recommend launching an external program/script to do the processing for each command in parallel.

  • Comment on Re: Forking child process gives me an error: Attempt to free unreferenced scalar

Replies are listed 'Best First'.
Re^2: Forking child process gives me an error: Attempt to free unreferenced scalar
by srlbharu (Acolyte) on Feb 27, 2013 at 10:48 UTC

    Can you please let me know how to create a thread to run parallelly? I tried but failed. After google, I came to know threads have been depricated in 5.6.1.

      See threads.

      If you have specific problems, please post code.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (13)
As of 2016-06-29 13:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (380 votes). Check out past polls.