dragon.mpbridge.sharedctypes.DragonArray
- class DragonArray
Bases:
Array
A ctype array co-located on the same node by default as the creating process
- __init__(typecode_or_type, size_or_initializer, lock: Lock = None, ctx: None = None)
Initialize the mpbridge array object.
Methods
__init__
(typecode_or_type, size_or_initializer)Initialize the mpbridge array object.
acquire
()Acquire the internal lock object
release
()Release the internal lock object
Attributes
- __init__(typecode_or_type, size_or_initializer, lock: Lock = None, ctx: None = None)
Initialize the mpbridge array object.
- __getitem__(pos)
- __len__()
- __setitem__(pos, arr)
- acquire()
Acquire the internal lock object
- property raw
- release()
Release the internal lock object
- property value