Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

RE: Threading

by eduardo (Curate)
on May 19, 2000 at 22:27 UTC ( [id://13332]=note: print w/replies, xml ) Need Help??

in reply to Threading

hi! this isn't really the answer you are looking for, however... PLEASE UNDER NO CIRCUMSTANCES USE THREADS UNDER PERL! :) hi! sorry about that... perl threads are not stable under any circumstances (actually, even the code in perlthrtut breaks!) so, use fork, please!

Replies are listed 'Best First'.
RE:(2) Threading - Not as bad as you say
by Russ (Deacon) on May 20, 2000 at 00:16 UTC
    They are of questionable stability.

    Our company has multi-threaded Perl code as a midleware server (Java/Perl/SQL) used in a production environment, no less. As long as we do not run the server SMP (it really hurts to have two CPUs but only use one...), we have no problems.

    Yes, we are considerably daft to have done such a thing (over a year ago, now), but it works well, in the right conditions.


RE: RE: Threading
by httptech (Chaplain) on May 20, 2000 at 00:26 UTC
    What can I say, I like to live on the bleeding edge sometimes. I realize the threading code is still experimental even in Perl 5.6.0, and that's exactly what I'm doing with it, experimenting. :)

    Unfortunately it doesn't look like anyone else has experimented with it enough to answer my question. And I thought it would probably be a simple answer. :(

Log In?

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-07-17 22:54 GMT
Find Nodes?
    Voting Booth?

    No recent polls found

    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.