MCPcopy Index your code
hub / github.com/python/cpython / SyncManager

Class SyncManager

Lib/multiprocessing/managers.py:1256–1265  ·  view source on GitHub ↗

Subclass of `BaseManager` which supports a number of shared object types. The types registered are those intended for the synchronization of threads, plus `dict`, `list` and `Namespace`. The `multiprocessing.Manager()` function creates started instances of this class.

Source from the content-addressed store, hash-verified

1254#
1255
1256class SyncManager(BaseManager):
1257 '''
1258 Subclass of `BaseManager` which supports a number of shared object types.
1259
1260 The types registered are those intended for the synchronization
1261 of threads, plus `dict`, `list` and `Namespace`.
1262
1263 The `multiprocessing.Manager()` function creates started instances of
1264 this class.
1265 '''
1266
1267SyncManager.register('Queue', queue.Queue)
1268SyncManager.register('JoinableQueue', queue.Queue)

Callers 1

ManagerMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…