in reply to
Unable to lock shared value
It's the array that's shared, not the reference. Fix:
lock(@{$self->{queue}});
[download]
Comment on
Re: Unable to lock shared value
Download
Code
In Section
Seekers of Perl Wisdom