Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/multiprocessing/dummy/
D__init__.py68 self._parent = current_process()
71 assert self._parent is current_process()
96 current_process = threading.current_thread variable
97 current_process()._children = weakref.WeakKeyDictionary()
100 children = current_process()._children
/external/python/cpython2/Lib/multiprocessing/
Dutil.py43 from multiprocessing.process import current_process, active_children
137 if current_process()._tempdir is None:
142 current_process()._tempdir = tempdir
143 return current_process()._tempdir
296 current_process=current_process): argument
307 if current_process() is not None:
Dforking.py345 if getattr(process.current_process(), '_inheriting', False):
378 process.current_process()._inheriting = True
382 process.current_process()._inheriting = False
402 authkey=process.current_process().authkey,
449 process.current_process().name = data['name']
452 process.current_process()._authkey = data['authkey']
Dreduction.py44 from multiprocessing import current_process
110 _listener = Listener(authkey=current_process().authkey)
155 conn = Client(address, authkey=current_process().authkey)
Dsynchronize.py46 from multiprocessing.process import current_process
152 name = current_process().name
177 name = current_process().name
Dmanagers.py50 from multiprocessing import Process, current_process, active_children, Pool, util, connection
174 current_process()._manager_server = self
475 authkey = current_process().authkey
730 self._authkey = current_process().authkey
739 name = current_process().name
870 server = getattr(current_process(), '_manager_server', None)
877 not getattr(current_process(), '_inheriting', False)
924 authkey = current_process().authkey
D__init__.py64 from multiprocessing.process import Process, current_process, active_children
Dprocess.py59 def current_process(): function
Dconnection.py46 from multiprocessing import current_process, AuthenticationError
/external/python/cpython2/Doc/includes/
Dmp_synchronize.py21 print '\n\t\t\t' + str(multiprocessing.current_process()) + ' has finished'
123 print '%s has finished' % multiprocessing.current_process()
170 print '\t%r is waiting' % multiprocessing.current_process()
172 print '\t%r has woken up' % multiprocessing.current_process()
267 namespace.current_process = multiprocessing.current_process
Dmp_webserver.py18 from multiprocessing import Process, current_process, freeze_support
27 sys.stderr.write('[%s]\t%s\n' % (current_process().name, format%args))
Dmp_workers.py17 from multiprocessing import Process, Queue, current_process, freeze_support
35 (current_process().name, func.__name__, args, result)
Dmp_pool.py20 multiprocessing.current_process().name,
/external/google-breakpad/src/client/windows/crash_generation/
Dcrash_generation_server.cc653 HANDLE current_process = GetCurrentProcess(); in CreateClientHandles() local
654 if (!DuplicateHandle(current_process, in CreateClientHandles()
664 if (!DuplicateHandle(current_process, in CreateClientHandles()
674 if (!DuplicateHandle(current_process, in CreateClientHandles()
/external/python/cpython2/Lib/test/
Dtest_multiprocessing.py185 current = self.current_process()
197 current = cls.current_process()
215 current = self.current_process()
/external/python/cpython2/Lib/logging/
D__init__.py300 self.processName = mp.current_process().name
/external/python/cpython2/Doc/library/
Dmultiprocessing.rst752 .. function:: current_process()
1375 ``current_process().authkey``. Otherwise *authkey* is used and it
1983 *authkey* or ``current_process().authkey)`` if *authkey* is ``None``.
2023 ``current_process().authkey`` is used as the authentication key. If
2141 return value of ``current_process().authkey`` is used (see