THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/12/2012 at 06:35, xxxxxxxx wrote:
thanks first of all! Okay, so the conclusion is not to expect them to be safe especially in the case of unlocked MoData passed along and in a threaded context. Clear.
However, I am using the MSG_SAMPLE_EFFECTOR_VALUE call for sampling the strength of the effector, it does not contain any MoData. I would expect such an arbitrary single point value sampling function to be MP safe (as for example a point illumination sampling in VolumeData is because it aims at arbitrary input). Is my assumption wrong?
What I mean is that I wouldn't expect for example a noise effector to raise any issues. I understand there may be internal local data that may screw up in an threaded context especially when there is a temporal dependancy as can be expected in a delay effector, but a noise effector point sampling I would expect not to run into such trouble, even in an MP context. No offense, just listing my thoughts.
I am sampling from my own MP thread running in a scenehook execute (which I am aware is called in a threaded context according to the docs). I also tried copying the effector to sample that one but the copy just does nothing if not in the scene it appears (is that right or do I have to do anything else once I copied an effector that is in the document node's list? kind of reinitialising it or so?)
Thanks again! Very appreciated