Privatization¶
Usage
use Privatization;
-
record
Privatized
¶ -
type
varType
¶
-
var
instance
: unmanaged PrivatizedImpl(varType)¶
-
var
pid
: int¶
-
proc
init
(type varType)¶
-
proc
destroy
()¶
-
proc
_value
¶
-
proc
readWriteThis
(f)¶
-
type
-
proc
=
(x: Privatized(?eltType), y: eltType)¶
-
proc
+
(x: Privatized(?eltType), y: eltType)¶
-
proc
-
(x: Privatized(?eltType), y: eltType)¶
-
proc
+=
(x: Privatized(?eltType), y: eltType)¶
-
proc
-=
(x: Privatized(?eltType), y: eltType)¶
-
proc
*
(x: Privatized(?eltType), y: eltType)¶
-
proc
*=
(x: Privatized(?eltType), y: eltType)¶
-
class
PrivatizedArray
¶ -
type
varType
¶
-
var
dom
= LocaleSpace dmapped Block(boundingBox = LocaleSpace)¶
-
var
arr
: [dom] varType¶
-
type
-
class
PrivatizedImpl
¶ -
type
varType
¶
-
var
pid
: int¶
-
var
privatizedArray
: unmanaged PrivatizedArray(varType)¶
-
var
broadcast
= _newArray(privatizedArray.arr._value)¶
-
proc
init
(type varType)¶
-
proc
init
(type varType, other, privatizedData)
-
proc
dsiPrivatize
(privatizedData)¶
-
proc
dsiGetPrivatizeData
()¶
-
proc
readWriteThis
(f)¶
-
proc
get
(loc: locale = here) ref¶
-
proc
get
(locid: int) ref
-
proc
deinit
()¶
-
type