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.
|
|---|