Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Threads and Process

by mkirank (Chaplain)
on Dec 13, 2002 at 11:09 UTC ( [id://219546]=perlquestion: print w/replies, xml ) Need Help??

mkirank has asked for the wisdom of the Perl Monks concerning the following question:

I would like to know the difference between process and threads , i was told that under *nix systems when we do a fork a new process would be created with its own text and data segment(stack...)...what about threads ?..is this dependant on the OS ?.. and how to create threads in perl ???

Replies are listed 'Best First'.
Re: Threads and Process
by jreades (Friar) on Dec 13, 2002 at 11:26 UTC

    This has been covered before in several places on this site so it is a good idea to do a power search and save yourself quite a bit of time.

    This node should help: Threads vs Forking (Java vs Perl)

Re: Threads and Process
by bronto (Priest) on Dec 13, 2002 at 11:25 UTC

    Run perldoc perlthrtut and read on :-)

    Ciao!
    --bronto

    # Another Perl edition of a song:
    # The End, by The Beatles
    END {
      $you->take($love) eq $you->make($love) ;
    }

Re: Threads and Process
by BazB (Priest) on Dec 13, 2002 at 15:56 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-25 18:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found