PlasmaCalcs.tools.multiprocessing.MPTestClass
- class PlasmaCalcs.tools.multiprocessing.MPTestClass
Bases:
objectempty class useful for multiprocessing testing.- __init__()
Methods
__init__()get_mem(key)update_mem(key, value)Attributes
mem- get_mem(key)
- return self.mem[key]. print mem before.
- update_mem(key, value)
- update self.mem with key, value. Print mem after.