Home
last modified time | relevance | path

Searched refs:current_task (Results 1 – 13 of 13) sorted by relevance

/external/google-breakpad/src/client/mac/handler/
Dexception_handler.cc434 mach_port_t current_task = mach_task_self(); in ForwardException() local
435 task_get_exception_ports(current_task, in ForwardException()
669 mach_port_t current_task = mach_task_self(); in InstallHandler() local
670 kern_return_t result = task_get_exception_ports(current_task, in InstallHandler()
680 result = task_set_exception_ports(current_task, s_exception_mask, in InstallHandler()
703 mach_port_t current_task = mach_task_self(); in UninstallHandler() local
707 result = task_set_exception_ports(current_task, previous_->masks[i], in UninstallHandler()
736 mach_port_t current_task = mach_task_self(); in Setup() local
737 kern_return_t result = mach_port_allocate(current_task, in Setup()
742 result = mach_port_insert_right(current_task, handler_port_, handler_port_, in Setup()
[all …]
/external/toolchain-utils/bestflags/
Dhill_climb_best_neighbor.py94 current_task = self._next_task
95 flag_set = current_task.GetFlags()
106 return [HillClimbingBestBranch(children_tasks, set([current_task]),
/external/google-breakpad/src/common/mac/
DMachIPC.mm168 mach_port_t current_task = mach_task_self();
170 init_result_ = mach_port_allocate(current_task,
177 init_result_ = mach_port_insert_right(current_task,
186 init_result_ = task_get_bootstrap_port(current_task, &task_bootstrap_port);
200 mach_port_t current_task = mach_task_self();
202 init_result_ = mach_port_allocate(current_task,
209 init_result_ = mach_port_insert_right(current_task,
/external/python/cpython3/Lib/asyncio/
Dtasks.py34 def current_task(loop=None): function
117 def current_task(cls, loop=None): member in Task
130 return current_task(loop)
930 current_task = _current_tasks.get(loop)
931 if current_task is not None:
938 current_task = _current_tasks.get(loop)
939 if current_task is not task:
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_tasks.py1649 self.assertIsNone(Task.current_task(loop=self.loop))
1653 self.assertIs(Task.current_task(loop=loop), task)
1659 self.assertIs(Task.current_task(None), task)
1661 self.assertIs(Task.current_task(), task)
1668 self.assertIsNone(Task.current_task(loop=self.loop))
1671 self.assertIsNone(asyncio.current_task(loop=self.loop))
1674 self.assertIs(asyncio.current_task(loop=loop), task)
1676 self.assertIs(asyncio.current_task(None), task)
1677 self.assertIs(asyncio.current_task(), task)
1681 self.assertIsNone(asyncio.current_task(loop=self.loop))
[all …]
/external/python/cpython3/Doc/library/
Dasyncio-api-index.rst42 * - :func:`current_task`
Dasyncio-task.rst649 .. function:: current_task(loop=None)
911 .. classmethod:: current_task(loop=None)
921 :func:`asyncio.current_task` function instead.
/external/python/cpython3/Misc/NEWS.d/
D3.7.0a4.rst513 Implement ``asyncio.current_task()`` and ``asyncio.all_tasks()``. Add
516 and ``asyncio._unregister_task``. Deprecate ``asyncio.Task.current_task()``
D3.6.1rc1.rst261 Fix Task.current_task and Task.all_tasks implemented in C to accept None
D3.7.0a1.rst3326 Fix Task.current_task and Task.all_tasks implemented in C to accept None
/external/python/cpython3/Doc/whatsnew/
D3.7.rst663 * The new :func:`asyncio.current_task` function returns the currently running
666 The :meth:`Task.current_task() <asyncio.Task.current_task>` and
1953 The :meth:`asyncio.Task.current_task` and :meth:`asyncio.Task.all_tasks`
/external/python/cpython3/Modules/
D_asynciomodule.c18 _Py_IDENTIFIER(current_task);
/external/python/cpython3/Misc/
DHISTORY2931 - Added a Task.current_task() class method to asyncio.