Difference between revisions of "Commgroup"

From Mesham
Jump to navigationJump to search
(Created page with '== Syntax == commgroup[process list] == Semantics == Specified within the multiple type, will limit memory allocation (and variable communication) to the processes within the …')
 
Line 5: Line 5:
 
== Semantics ==
 
== Semantics ==
  
Specified within the multiple type, will limit memory allocation (and variable communication) to the processes within the list given in this type's arguments.
+
Specified within the multiple type, will limit memory allocation (and variable communication) to the processes within the list given in this type's arguments. This type will ensure that the communications group processes exist.
  
 
== Example ==
 
== Example ==
  
  var i:Int :: allocated[multiple[commgroup[1,2]]];
+
  var i:Int :: allocated[multiple[commgroup[1,3]]];
  
In this example there are a number processes, but only 1 and 2 have variable ''i'' allocated to them.
+
In this example there are a number processes, but only 1 and 3 have variable ''i'' allocated to them. This type would have also ensured that process two (and zero) exists for there to be a process three.
  
 
[[Category:Type Library]]
 
[[Category:Type Library]]
 
[[Category:Composite Types]]
 
[[Category:Composite Types]]
 
[[Category:Allocation Types]]
 
[[Category:Allocation Types]]

Revision as of 16:41, 12 January 2013

Syntax

commgroup[process list]

Semantics

Specified within the multiple type, will limit memory allocation (and variable communication) to the processes within the list given in this type's arguments. This type will ensure that the communications group processes exist.

Example

var i:Int :: allocated[multiple[commgroup[1,3]]];

In this example there are a number processes, but only 1 and 3 have variable i allocated to them. This type would have also ensured that process two (and zero) exists for there to be a process three.