Sync

From Mesham
Revision as of 23:52, 3 January 2010 by Polas (talk | contribs) (Created page with '== Syntax == sync name; == Semantics Will synchronise processes where they are needed. For instance, if using the asynchronous communication type, the programmer can synchron…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Syntax

sync name;

== Semantics

Will synchronise processes where they are needed. For instance, if using the asynchronous communication type, the programmer can synchronise with a variable name and the keyword will ensure all communications of that variable are up to date. One sided communication (variable sharing MPMD style in a par loop) is also linked into this keyword and it will ensure all communication is completed. Without a variable will synchronise all outstanding variables that need synchronising. If a process has no variables that need syncing then it will ignore this keyword and continue.