Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: When to use forks, when to use threads ...?

by jdrago_999 (Hermit)
on Sep 05, 2008 at 14:06 UTC ( #709279=note: print w/ replies, xml ) Need Help??

in reply to When to use forks, when to use threads ...?

On Windows, use threads; but on Linux, use forks;

Everything else should be the same.

Check out forks and threads. In my experience, using multiple processes via the forks module is convenient, simple and maintainable, even when inserting/updating large amounts of records in a database.

Comment on Re: When to use forks, when to use threads ...?
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2015-11-28 23:54 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (746 votes), past polls