Lines Matching defs:task

373 "Request that this task cancel itself.\n"
381 "task will be cancelled: the exception might be caught and\n"
382 "acted upon, delaying cancellation of the task or preventing\n"
383 "cancellation completely. The task may also return a value or\n"
387 "not return True (unless the task was already cancelled). A\n"
388 "task will be marked as cancelled when the wrapped coroutine\n"
392 "This also increases the task\'s count of cancellation requests.");
429 "Return the count of the task\'s cancellation requests.\n"
450 "Decrement the task\'s count of cancellation requests.\n"
473 "Return the list of stack frames for this task\'s coroutine.\n"
528 "Print the stack or traceback for this task\'s coroutine.\n"
751 "_register_task($module, /, task)\n"
754 "Register a new task in asyncio as executed by loop.\n"
762 _asyncio__register_task_impl(PyObject *module, PyObject *task);
768 static const char * const _keywords[] = {"task", NULL};
771 PyObject *task;
777 task = args[0];
778 return_value = _asyncio__register_task_impl(module, task);
785 "_unregister_task($module, /, task)\n"
788 "Unregister a task.\n"
796 _asyncio__unregister_task_impl(PyObject *module, PyObject *task);
802 static const char * const _keywords[] = {"task", NULL};
805 PyObject *task;
811 task = args[0];
812 return_value = _asyncio__unregister_task_impl(module, task);
819 "_enter_task($module, /, loop, task)\n"
822 "Enter into task execution or resume suspended task.\n"
832 _asyncio__enter_task_impl(PyObject *module, PyObject *loop, PyObject *task);
838 static const char * const _keywords[] = {"loop", "task", NULL};
842 PyObject *task;
849 task = args[1];
850 return_value = _asyncio__enter_task_impl(module, loop, task);
857 "_leave_task($module, /, loop, task)\n"
860 "Leave task execution or suspend a task.\n"
870 _asyncio__leave_task_impl(PyObject *module, PyObject *loop, PyObject *task);
876 static const char * const _keywords[] = {"loop", "task", NULL};
880 PyObject *task;
887 task = args[1];
888 return_value = _asyncio__leave_task_impl(module, loop, task);