Home
last modified time | relevance | path

Searched refs:ShareableList (Results 1 – 7 of 7) sorted by relevance

/third_party/python/Doc/library/
Dmultiprocessing.shared_memory.rst197 instances and for creating a list-like object (:class:`ShareableList`)
210 .. method:: ShareableList(sequence)
212 Create and return a new :class:`ShareableList` object, initialized
225 >>> sl = smm.ShareableList(range(4))
227 ShareableList([0, 1, 2, 3], name='psm_6572_7512')
229 >>> another_sl = smm.ShareableList('alpha')
231 ShareableList(['a', 'l', 'p', 'h', 'a'], name='psm_6572_12221')
243 ... sl = smm.ShareableList(range(2000))
258 .. class:: ShareableList(sequence=None, *, name=None)
266 and do not support the dynamic creation of new :class:`ShareableList`
[all …]
/third_party/python/Lib/test/
Dtest_genericalias.py29 from multiprocessing.shared_memory import ShareableList
32 ShareableList = None variable
82 ShareableList, MPSimpleQueue,
D_test_multiprocessing.py4006 sl = smm.ShareableList(range(10))
4013 sl2 = smm.ShareableList(range(10))
4048 lol = [ smm1.ShareableList(range(i)) for i in range(5, 10) ]
4050 doppleganger_list0 = shared_memory.ShareableList(name=lol[0].shm.name)
4064 sl = smm2.ShareableList("howdy")
4070 absent_sl = shared_memory.ShareableList(name=held_name)
4074 sl = shared_memory.ShareableList(
4152 sl_copy = shared_memory.ShareableList(sl, name=name_duplicate)
4166 sl_tethered = shared_memory.ShareableList(name=sl.shm.name)
4175 empty_sl = shared_memory.ShareableList()
[all …]
/third_party/python/Lib/multiprocessing/
Dshared_memory.py247 class ShareableList: class
Dmanagers.py1368 def ShareableList(self, sequence): member in SharedMemoryManager
1372 sl = shared_memory.ShareableList(sequence)
/third_party/python/Misc/NEWS.d/
D3.9.0a6.rst396 In :meth:`ShareableList.__setitem__`, check the size of a new string item
785 in :class:`multiprocessing.shared_memory.ShareableList`. This avoids
786 quadratic performance when iterating a `ShareableList`. Patch by Thomas
D3.10.0a1.rst2846 Increase code coverage for SharedMemory and ShareableList