Loading

SYNC

Extension: io.warp10.script.ext.concurrent.ConcurrentWarpScriptExtension

extensions
Configuration parameters

Executes a macro in a synchronized way while in a parallel execution triggered by a call to CEVAL. If SYNC is called outside of a parallel execution, it simply executes the macro.

When called within a CEVAL execution, the use of SYNC guarantees that only one of the concurrently executing threads will execute the specified macro at any given time.

SYNC is available since version 1.0.0.

See also

Signature