Hello.
I would desperately like to be able to share objects
between threads. Currently I am attempting to use
Threads::Queue::Any.
$queue = Threads::Queue::Any->new; $object = MyClass->new; $queue->enqueue(\$object);
This throws an error Can't store CODE items at blib/lib/Storable.pm
Please help me. This is very annoying.
In reply to Sharing objects in ithreads by djs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |