Event type to implement threaded for-loop within a function.
IdxMin specifies the starting and IdxMax the final iteration of the for-loop for the current thread and is between IterMin and IterMax as passed to the DoForLoop function. The context contains any parameters passed to the DoForLoop function,when threading was initialized. The advantage of having both start and stop index available is the possiblity for additional code vectorization within the threaded function. ThreadIndex parameter will vary from 0 to ThreadCount-1 depending on the thread that is running. ThreadIndex can be used to partition the data within the event.
Copyright (c) 1999-2025 by Dew Research. All rights reserved.
|
What do you think about this topic? Send feedback!
|