Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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
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 rifling through the Monastery: (5)
As of 2014-07-26 06:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls