...
Note: The situation will change with TM1 version 12, which will no longer support CubeSaveData
command, but will support thread synchronization out of the box. As a possible solution to this problem, there could be two versions of the parallel enabled processes in the FPM model - one for version 11 and second for version 12 and above. Switching between these can be simply provided by modified roundtrip configurations or by assigning proper process version to respective roundtrip step.
Each of the processing threads have 3 different status flags defined in the }APQ C3 Thread Control cube. The main thread uses the status flags for threads monitoring and to detect time when all of the child threads have finished their processing.
The thread status transitions are summarised in below table.
Status Change Originator | Main Thread | Child Thread |
---|---|---|
Main thread prolog |
|
|
Main thread prolog |
|
|
Child thread prolog |
| |
Child thread prolog |
| |
Main thread epilog |
| |
Child thread epilog |
|