Welcome to the Monastery | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Splice not implemented for shared arrays at... Don't use splice. Use delete $aryItms[$id] instead. You should also be using lock to prevent more than one thread trying access the same array element at a time. Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller In reply to Re: Threading: Removing an element from a shared array
by BrowserUk
|
|