Problems? Is your data what you think it is? | |
PerlMonks |
Re: Using threads::shared with multidimensional arraysby BrowserUk (Patriarch) |
on Jun 10, 2006 at 23:18 UTC ( [id://554642]=note: print w/replies, xml ) | Need Help?? |
Silly example. The background thread randomly increments values in the shared array of shared arrays, whilst the foregorund thread displays it. Things to note.
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|