...
Allocation of source data is based on pThreadID
parameter value is provided by the modulo logic as depicted on below example. Number of working threads pMaxThreads
was set to 4
, main thread is not participating in the data processing. Child threads have pThreadID
set to 1
, 2
and 3
. For simplicity elements in parallel dimension have symbolic names A, B, C, D, E, F, G, H and I.
Element | A | B | C | D | E | F | G | H | I | J |
---|---|---|---|---|---|---|---|---|---|---|
Thread | 1 | 2 | 3 | 1 | 2 | 3 | 1 | 2 | 3 | 1 |
Note |
---|
Each thread is responsible to allocate its own data both in the source and in the target. Target view for cleaning and cleaning itself must be provided by the thread itself. All objects such as views or subsets must be created as temporary. |