Lines Matching refs:multiprocessing
8 import time, sys, multiprocessing, threading, Queue, gc
72 c, d = multiprocessing.Pipe()
73 cond = multiprocessing.Condition()
80 p = multiprocessing.Process(target=pipe_func,
183 manager = multiprocessing.Manager()
191 test_queuespeed(multiprocessing.Process, multiprocessing.Queue(),
192 multiprocessing.Condition())
194 test_queuespeed(multiprocessing.Process, manager.Queue(),
206 test_seqspeed(multiprocessing.Array('i', range(10), lock=False))
208 test_seqspeed(multiprocessing.Array('i', range(10), lock=True))
217 test_lockspeed(multiprocessing.Lock())
219 test_lockspeed(multiprocessing.RLock())
230 test_conditionspeed(multiprocessing.Process, multiprocessing.Condition())
232 test_conditionspeed(multiprocessing.Process, manager.Condition())
237 multiprocessing.freeze_support()