Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^6: forks for running multiple codes at same time

by salva (Canon)
on Feb 09, 2009 at 10:45 UTC ( [id://742393]=note: print w/replies, xml ) Need Help??


in reply to Re^5: forks for running multiple codes at same time
in thread forks for running multiple codes at same time

Since you need to load a new executable, why not just start it in a new process rather than duplicating the current one first?

Well, I was thinking about Unix systems where calling fork & exec is the standard (and sometimes only) way to start a new process. On Windows, you are right, it will be quite inefficient.

  • Comment on Re^6: forks for running multiple codes at same time

Replies are listed 'Best First'.
Re^7: forks for running multiple codes at same time
by BrowserUk (Patriarch) on Feb 09, 2009 at 11:21 UTC
    I was thinking about Unix systems where calling fork & exec is the standard (and sometimes only) way to start a new process.

    Sorry. I should have added a smiley. I was taking a gentle dig (back) at *nix :)


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2024-04-19 08:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found