Lines Matching defs:get_context
56 m = SyncManager(ctx=self.get_context())
68 return Lock(ctx=self.get_context())
73 return RLock(ctx=self.get_context())
78 return Condition(lock, ctx=self.get_context())
83 return Semaphore(value, ctx=self.get_context())
88 return BoundedSemaphore(value, ctx=self.get_context())
93 return Event(ctx=self.get_context())
98 return Barrier(parties, action, timeout, ctx=self.get_context())
103 return Queue(maxsize, ctx=self.get_context())
108 return JoinableQueue(maxsize, ctx=self.get_context())
113 return SimpleQueue(ctx=self.get_context())
120 context=self.get_context())
136 ctx=self.get_context())
142 ctx=self.get_context())
187 def get_context(self, method=None):
224 return _default_context.get_context().Process._Popen(process_obj)
228 return _default_context.get_context().Process._after_fork()
237 def get_context(self, method=None):
243 return super().get_context(method)
251 self._actual_context = self.get_context(method)