10.4.3.22. TaskSync
10.4.3.22. TaskSync
Explanation | - Synchronization wait between tasks Wait for the TaskSynck statements with an identical ID to be executed in the same number as designated. In other words, this can be used conveniently when synchronizing between tasks. | ||
Grammar | TaskSync ID=<Identifier>,NO=<Number of tasks> | ||
Parameter | Identifier | Designate the identifier | 1 ~ 32 |
Number of tasks | Designate the number in which a same identifier is executed | 2 ~ 4 | |
Example | TaskSync ID=1,NO=2 ‘Wait for the ID=1 TaskSync statement to be executed 2 times. |
l Using this requires your attention as it is identical to the mutual interlock