()
return _manager
Return a singleton shared manager.
Return a singleton shared manager.
Return a singleton shared manager .
def get_manager() -> multiprocessing.managers.SyncManager:
    """Return a singleton shared manager."""
    global _manager
    if _manager is None:
        _manager = context.Manager()

    return _manager
def get_manager ( ) -> multiprocessing . managers . SyncManager : global _manager if _manager is None : _manager = context . Manager ( ) return _manager