vsTASKER 7 User Manual
×
Menu
Index

Synchro

  
A Synchro is a Logic object that stops the logical flow until all input connectors have been triggered. A Synchro is handful when several flows must meet somewhere in time before continuing the process. A Synchro can be seen as a Logic meeting point (synchronization point).
A Synchro can have an Exit Point. In such case, if the Synchro is active and waiting for all input connectors to be triggered, as soon as the XPoint is activated, the Synchro will trigger regardless of the number of valid inputs. This is handful to automatically resolve dead locks with a kind-of timeout.
 
 
scen() or S: is a macro that returns a pointer to the Scenario instance that holds the Entity instance that holds the Logic instance that holds the current Synchro.
ent() or E: is a macro that returns a pointer to the Entity instance that holds the Logic instance that holds the current Synchro.
logk() or L: is a macro that returns a pointer to the Logic instance that holds the current Synchro.
group() or G: is a macro that returns a pointer to the current Group, if any, that holds the current Synchro. NULL if none.