Lines Matching defs:priority
4691 Add increment to the priority of process and return the new priority.
4701 priority (as required by almost all standards out there) and the
4703 the use of getpriority() to get the new priority.
4705 If we are of the nice family that returns the new priority, we
4708 -1 may be the actual new priority! */
4731 Return program scheduling priority.
4755 priority: int
4757 Set program scheduling priority.
4761 os_setpriority_impl(PyObject *module, int which, int who, int priority)
4766 retval = setpriority(which, who, priority);
6498 /* Set priority=100 and uStackSize=16 MiB (0x1000000) for new processes.
6894 Get the maximum scheduling priority for policy.
6915 Get the minimum scheduling priority for policy.
6985 {"sched_priority", "the scheduling priority"},
6999 long priority;
7005 priority = PyLong_AsLong(PyStructSequence_GET_ITEM(param, 0));
7006 if (priority == -1 && PyErr_Occurred())
7008 if (priority > INT_MAX || priority < INT_MIN) {
7012 res->sched_priority = Py_SAFE_DOWNCAST(priority, long, int);
7073 PyObject *priority;
7081 priority = PyLong_FromLong(param.sched_priority);
7082 if (!priority) {
7086 PyStructSequence_SET_ITEM(result, 0, priority);