Child Threads
Child threads are responsible for data processing only, but other aspects related to data processing must be addressed as well.
In the prolog of the process the thread is responsible to check all input process parameters.
Then it should allocate its source data properly by slicing source data by employing logic based on pThreadID
parameter value. If requested by pLogOutput
parameter (value 2
), the thread should be able to list all elements that have been allocated in the parallel dimension on the source and on the target to the system error log.
The thread is then responsible to allocate its source an target views based on allocated source data and to clean target view slice as well.
The thread then should signal successful initiation when the prolog part is completed and data processing started.
Once data processing is finished, the thread must signal completion to the main thread through }APQ Thread Control
cube. As part of the completion signal, the thread must properly formulate message that will be then consolidated by the main thread to the overall message.