Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: Shared Thread Pool (used more then once,)

by BrowserUk (Pope)
on Nov 15, 2013 at 21:51 UTC ( #1062803=note: print w/ replies, xml ) Need Help??


in reply to Re: Shared Thread Pool (used more then once,)
in thread Shared Thread Pool (used more then once,)

Are you sure that undef'ing a shared array is a correct way of clearing out the array? I might think you would use lock on @Data, and then do @Data = '';

undef works perfectly on shared arrays.

Your method is completely broken, as it leaves the array with a single element containing a zero length string.


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^2: Shared Thread Pool (used more then once,)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1062803]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2015-07-30 05:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (270 votes), past polls