Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

Re: Re: Re: Re: communication between forked processes

by snafu (Chaplain)
on Feb 25, 2003 at 10:31 UTC ( #238401=note: print w/replies, xml ) Need Help??

in reply to Re: Re: Re: communication between forked processes
in thread communication between forked processes

This has been quite helpful...only, I'm curious now. It's been about a few months since I've installed 5.8. In fact, the machine that Chad (gnu@perl) is talkin about here is probably the one I installed it on.

I distinctly remember reading during the installation that threads should still not be used because they are very experimental. Thus, since the machine that this Perl was being installed on is well, *very* important, I didn't put the option in to use threads. Now, I am not sure if this is the machine he is trying to use. So, the second part of that question is does threading have to be included during the install in order for Perl to do threading properly? If not, can real threading still be done? I believe there is a module you can still use (via the older method that you could use pre 5.8, right)?

Thanks! This will clear up some questions I had in this area too.

_ _ _ _ _ _ _ _ _ _
- Jim
Insert clever comment here...

  • Comment on Re: Re: Re: Re: communication between forked processes

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: communication between forked processes
by pg (Canon) on Feb 25, 2003 at 16:59 UTC
    There is another place that provides useful information about Perl threads. Checkout the document for Thread module, it talks about a bit history, and more importantly, what you want to know about installation.

    I copy and paste a little piece of it:

    “Neither model is configured by default into Perl (except, as mentioned above, in Win32 ithreads are always available.) You can see your Perl's threading configuration by running perl -V and looking for the use...threads variables, or inside script by use Config; and testing for $Config{use5005threads} and $Config{useithreads}.”

    And made up a three-line to do what they said:
    use Config; print "use 5005 threads\n" if $Config{use5005threads}; print "use ithreads\n" if $Config{useithreads};

    Hope this helps.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2019-06-18 23:15 GMT
Find Nodes?
    Voting Booth?
    Is there a future for codeless software?

    Results (83 votes). Check out past polls.

    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!