sfepy.base.multiproc_proc module¶
Multiprocessing functions - using multiprocessing (process based) module.
- sfepy.base.multiproc_proc.get_manager()[source]¶
Get the multiprocessing manager. If not in the global cache, create a new instance.
- Returns:
- managermanager
The multiprocessing manager.
- sfepy.base.multiproc_proc.get_mpdict_value(mode, key, clear=False)[source]¶
Get the item from the global multiprocessing cache.
- Parameters:
- modestr
The type of the required object.
- keyimmutable type
The key of the required object.
- clearbool
If True, clear the dictionary or list (for modes ‘dict’ and ‘list’).
- Returns:
- valueremote object
The remote object.