- Home /
Question by
jonayoung · Oct 23, 2018 at 09:39 AM ·
c#programmingthreadsparallel
Is it safe to read from managed objects when using IParallelFor?
If I am implementing IParallelFor, is it safe to read from objects that aren't NativeArray? For example, if I pass an object to a member variable within the IParallelFor implementation, is it safe to read from it (if I'm only reading from it). Also if it is safe, is there a performance cost?
Comment
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
How to warm-up job threads 0 Answers
Question on Euler angles and Time.deltaTime 1 Answer
Coroutine For Loop Will Not End 1 Answer