Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^7: threads::shared seems to kill performance (Workaround).

by BrowserUk (Pope)
on Jul 19, 2013 at 16:38 UTC ( #1045380=note: print w/replies, xml ) Need Help??

in reply to Re^6: threads::shared seems to kill performance (Workaround).
in thread threads::shared seems to kill performance

what is threads::Q? I can't find that on CPAN or anywhere else.

Its a module of my own writing that I've never packaged.

It is essentially my own version of Thread::Queue minus a lot of that modules junk, plus a little extra. Namely, you specify a size for the queue and it self limits to that size, blocking senders when it gets to full and receivers when empty.

You can grab a copy of it here.

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re^7: threads::shared seems to kill performance (Workaround).

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1045380]
[Tux]: ELISHIVA, erix, Discipulus, afoken DBD::CSV now pushed. Try wget https://github. com/perl5-dbi/DBD- CSV/archive/ a26beac1.tar.gz -O DBD-CSV-0.50_01- a26beac1.tgz

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2017-05-29 06:50 GMT
Find Nodes?
    Voting Booth?