Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Don't ask to ask, just ask
 
PerlMonks  

Re: Re: Placing references onto thread queues (Perl 5.8)

by fx (Pilgrim)
on Dec 16, 2003 at 08:10 UTC ( [id://315045]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Re: Placing references onto thread queues (Perl 5.8)
in thread Placing references onto thread queues (Perl 5.8)

Ok, it works if I remove "use threads;"...
  • Comment on Re: Re: Placing references onto thread queues (Perl 5.8)

Replies are listed 'Best First'.
Re: Re: Re: Placing references onto thread queues (Perl 5.8)
by liz (Monsignor) on Dec 16, 2003 at 15:16 UTC
    No, it doesn't.

    By removing use threads, you are basically disabling shared variables, making the process of sharing a variable a noop.

    What you have without use threads is a very expensive, object oriented way of pushing and popping an array in a single process.

    Liz

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://315045]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.