Typo
This commit is contained in:
parent
9c82227277
commit
54b01498e3
|
@ -4743,9 +4743,9 @@ posix_sched_setscheduler(PyObject *self, PyObject *args)
|
|||
return NULL;
|
||||
|
||||
/*
|
||||
** sched_setscheduler() returns 0 in Linux, but
|
||||
** the previous scheduling policy.
|
||||
** On error, -1 is returned in all Operative Systems.
|
||||
** sched_setscheduler() returns 0 in Linux, but the previous
|
||||
** scheduling policy under Solaris/Illumos, and others.
|
||||
** On error, -1 is returned in all Operating Systems.
|
||||
*/
|
||||
if (sched_setscheduler(pid, policy, ¶m) == -1)
|
||||
return posix_error();
|
||||
|
|
Loading…
Reference in New Issue