Are TaskGraph tasks executed in serial or in parallel?
Specifically for the TrackSubsequents mode, are tasks executed in serial in the order they are dispatched, or in parallel with no guaranteed execution/completion order? This wiki tutorial includes a bit of code:
that would indicate that these tasks are being executed in parallel. But, this code snippet doesn't actually guarantee protection against the race condition the author is attempting to prevent, nor is he using a thread-safe container to store the data, so I'm not so sure I trust the author's understanding of how multithreading works in general.
(comments are locked)
|
Be the first one to answer this question
Follow this question
Once you sign in you will be able to subscribe for any updates here