Home
last modified time | relevance | path

Searched refs:current_process (Results 1 – 22 of 22) sorted by relevance

/third_party/python/Lib/multiprocessing/dummy/
D__init__.py41 self._parent = current_process()
44 if self._parent is not current_process():
47 self._parent, current_process()))
65 current_process = threading.current_thread variable
66 current_process()._children = weakref.WeakKeyDictionary()
69 children = current_process()._children
/third_party/python/Lib/multiprocessing/
Dutil.py135 current_process = process.current_process()
138 if current_process is not None:
139 current_process._config['tempdir'] = None
143 tempdir = process.current_process()._config.get('tempdir')
152 process.current_process()._config['tempdir'] = tempdir
322 current_process=process.current_process): argument
336 if current_process() is not None:
Dspawn.py122 process.current_process()._inheriting = True
128 del process.current_process()._inheriting
133 if getattr(process.current_process(), '_inheriting', False):
157 authkey=process.current_process().authkey,
207 process.current_process().name = data['name']
210 process.current_process().authkey = data['authkey']
Dresource_sharer.py86 c = Client(address, authkey=process.current_process().authkey)
96 authkey=process.current_process().authkey)
126 self._listener = Listener(authkey=process.current_process().authkey)
Dreduction.py74 current_process = _winapi.GetCurrentProcess()
76 source_process = current_process
78 target_process = current_process
Dsynchronize.py116 return '%s-%s' % (process.current_process()._config['semprefix'],
167 name = process.current_process().name
192 name = process.current_process().name
Dmanagers.py169 process.current_process()._manager_server = self
502 authkey = process.current_process().authkey
789 self._authkey = process.current_process().authkey
798 name = process.current_process().name
931 server = getattr(process.current_process(), '_manager_server', None)
940 not getattr(process.current_process(), '_inheriting', False)
987 authkey = process.current_process().authkey
Dcontext.py37 current_process = staticmethod(process.current_process) variable in BaseContext
Dforkserver.py171 process.current_process()._inheriting = True
175 del process.current_process()._inheriting
Dprocess.py37 def current_process(): function
/third_party/libuv/src/win/
Dprocess-stdio.c99 HANDLE current_process; in uv__duplicate_handle() local
114 current_process = GetCurrentProcess(); in uv__duplicate_handle()
116 if (!DuplicateHandle(current_process, in uv__duplicate_handle()
118 current_process, in uv__duplicate_handle()
Dutil.c518 HANDLE current_process; in uv_resident_set_memory() local
521 current_process = GetCurrentProcess(); in uv_resident_set_memory()
523 if (!GetProcessMemoryInfo(current_process, &pmc, sizeof(pmc))) { in uv_resident_set_memory()
/third_party/node/deps/uv/src/win/
Dprocess-stdio.c99 HANDLE current_process; in uv__duplicate_handle() local
114 current_process = GetCurrentProcess(); in uv__duplicate_handle()
116 if (!DuplicateHandle(current_process, in uv__duplicate_handle()
118 current_process, in uv__duplicate_handle()
Dutil.c518 HANDLE current_process; in uv_resident_set_memory() local
521 current_process = GetCurrentProcess(); in uv_resident_set_memory()
523 if (!GetProcessMemoryInfo(current_process, &pmc, sizeof(pmc))) { in uv_resident_set_memory()
/third_party/python/Doc/includes/
Dmp_workers.py4 from multiprocessing import Process, Queue, current_process, freeze_support
22 (current_process().name, func.__name__, args, result)
Dmp_pool.py13 multiprocessing.current_process().name,
/third_party/node/deps/v8/tools/chrome/
Dlinux_perf.py156 current_process = psutil.Process() variable
157 children = current_process.children(recursive=True)
/third_party/python/Lib/test/
D_test_multiprocessing.py240 current = self.current_process()
256 self.assertEqual(proc0.daemon, self.current_process().daemon)
264 current = cls.current_process()
283 self.assertEqual(parent_pid, self.current_process().pid)
285 self.assertEqual(parent_name, self.current_process().name)
340 current = self.current_process()
5736 current_process = staticmethod(multiprocessing.current_process) variable in ProcessesMixin
5821 current_process = staticmethod(multiprocessing.dummy.current_process) variable in ThreadsMixin
Dtest_logging.py4422 name = mp.current_process().name
/third_party/python/Doc/library/
Dmultiprocessing.rst960 .. function:: current_process()
969 the :func:`current_process`. For the main process, ``parent_process`` will
1669 *authkey* is ``None`` then ``current_process().authkey`` is used.
2537 from multiprocessing import Process, Pipe, current_process
2542 w.send((i, current_process().name))
2607 return value of ``current_process().authkey`` is used (see
/third_party/python/Lib/logging/
D__init__.py347 self.processName = mp.current_process().name
/third_party/python/Doc/howto/
Dlogging-cookbook.rst829 name = multiprocessing.current_process().name
1503 from multiprocessing import Process, Queue, Event, current_process
1525 record.processName = '%s (for %s)' % (current_process().name, record.processName)