Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Perl 5.6.1 threading

by perlknight (Pilgrim)
on Jul 12, 2002 at 15:30 UTC ( [id://181313]=perlquestion: print w/replies, xml ) Need Help??

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

Does any know if perl 5.6.1 threading is experimental, or has it been declared stable? Thanks.

Replies are listed 'Best First'.
•Re: Perl 5.6.1 threading
by merlyn (Sage) on Jul 12, 2002 at 15:37 UTC
    I believe 5.6.1 has the deprecated Threads model, but the new 5.8 has the new supported ithreads model. Just passing this along, because I'm not a user of either. For me, thread is spelled f-o-r-k.

    -- Randal L. Schwartz, Perl hacker

Re: Perl 5.6.1 threading
by Elian (Parson) on Jul 12, 2002 at 15:43 UTC
    The threading model introduced in 5.005 has been deprecated, in favor of a safer, though somewhat heavier-weight, threading model. If you're curious, snag a prerelease version of 5.8.0 and look at the docs for threads. (Not Threads, mind, but threads. Case matters there)
Re: Perl 5.6.1 threading
by Rich36 (Chaplain) on Jul 12, 2002 at 15:41 UTC

    I've had good luck threading in Unix w/5.6.1, very bad luck on Windows. If you're trying to do any threading on Win32 beyond a couple simple forks(ithreads), I would highly suggest avoiding it.

    It looks like it's still experimental. Info on 5.6 at Perl.com says:
    Perl's threading has been drastically reworked. It's still experimental, and there's still every expectation that the current implementation may be thrown out and started again, but Perl now supports two different types of threads.
    Granted, they are talking about 5.6.0, but I believe that's still valid.

    Also, from perl5.6.1 perlthrtut documenation
    WARNING: Threading is an experimental feature. Both the interface and implementation are subject to change drastically. In fact, this documentation describes the flavor of threads that was in version 5.005. Perl 5.6.0 and later have the beginnings of support for interpreter threads, which (when finished) is expected to be significantly different from what is described here. The information contained here may therefore soon be obsolete. Use at your own risk!

    «Rich36»
(sparkyichi)Re: Perl 5.6.1 threading
by sparkyichi (Deacon) on Jul 13, 2002 at 22:08 UTC
    I have had no problem with Active States's perl, v5.6.1 built for MSWin32-x86-multi-thread
    Is there any that is not working for you?
    Sparky
    FMTEYEWTK

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-19 17:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found