Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Things you need to know before programming Perl ithreads

by Zaxo (Archbishop)
on Aug 31, 2003 at 17:06 UTC ( #288039=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use threads();
    
    {
    ...
    foo is quux
    main: coderef = CODE(0x8060674)
    foo is bar
    
  2. or download this
    use threads();
    use threads::shared;
    {
    ...
    foo is quux
    main: coderef = CODE(0x80fe448)
    foo is quux
    
  3. or download this
    $ perl thrcl.pl
    Invalid CODE attribute: shared at thrcl.pl line 5
    BEGIN failed--compilation aborted at thrcl.pl line 5.
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (12)
As of 2015-07-02 22:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (46 votes), past polls