in reply to Odd scalar behaviour
My suspicion is that you are attempting to share object handles between threads and they are losing the blessings.
But if that is the case; you ought to be receiving some nice informative messages telling you almost exactly that.
(You wouldn't be (...) trying to program code this complex without strict and warnings would you?)
I also strongly suspect that this is more Odd Programmer Behaviour than your title.
If you want help, post testable code; not three repetitions of a single, obfuscated snippet that whilst it might be the site of the symptoms, almost certainly isn't the site of either the cause or the fix.
|
|---|