mirror of
https://github.com/python/cpython.git
synced 2025-07-23 19:25:40 +00:00
Close issue 12952: Solaris/Illumos (OpenIndiana) Scheduling policies
This commit is contained in:
parent
1e1c8f4913
commit
f2cb4e8b35
1 changed files with 13 additions and 1 deletions
|
@ -11301,12 +11301,12 @@ all_ins(PyObject *d)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_SCHED_H
|
#ifdef HAVE_SCHED_H
|
||||||
|
if (ins(d, "SCHED_OTHER", (long)SCHED_OTHER)) return -1;
|
||||||
if (ins(d, "SCHED_FIFO", (long)SCHED_FIFO)) return -1;
|
if (ins(d, "SCHED_FIFO", (long)SCHED_FIFO)) return -1;
|
||||||
if (ins(d, "SCHED_RR", (long)SCHED_RR)) return -1;
|
if (ins(d, "SCHED_RR", (long)SCHED_RR)) return -1;
|
||||||
#ifdef SCHED_SPORADIC
|
#ifdef SCHED_SPORADIC
|
||||||
if (ins(d, "SCHED_SPORADIC", (long)SCHED_SPORADIC) return -1;
|
if (ins(d, "SCHED_SPORADIC", (long)SCHED_SPORADIC) return -1;
|
||||||
#endif
|
#endif
|
||||||
if (ins(d, "SCHED_OTHER", (long)SCHED_OTHER)) return -1;
|
|
||||||
#ifdef SCHED_BATCH
|
#ifdef SCHED_BATCH
|
||||||
if (ins(d, "SCHED_BATCH", (long)SCHED_BATCH)) return -1;
|
if (ins(d, "SCHED_BATCH", (long)SCHED_BATCH)) return -1;
|
||||||
#endif
|
#endif
|
||||||
|
@ -11316,6 +11316,18 @@ all_ins(PyObject *d)
|
||||||
#ifdef SCHED_RESET_ON_FORK
|
#ifdef SCHED_RESET_ON_FORK
|
||||||
if (ins(d, "SCHED_RESET_ON_FORK", (long)SCHED_RESET_ON_FORK)) return -1;
|
if (ins(d, "SCHED_RESET_ON_FORK", (long)SCHED_RESET_ON_FORK)) return -1;
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef SCHED_SYS
|
||||||
|
if (ins(d, "SCHED_SYS", (long)SCHED_SYS)) return -1;
|
||||||
|
#endif
|
||||||
|
#ifdef SCHED_IA
|
||||||
|
if (ins(d, "SCHED_IA", (long)SCHED_IA)) return -1;
|
||||||
|
#endif
|
||||||
|
#ifdef SCHED_FSS
|
||||||
|
if (ins(d, "SCHED_FSS", (long)SCHED_FSS)) return -1;
|
||||||
|
#endif
|
||||||
|
#ifdef SCHED_FX
|
||||||
|
if (ins(d, "SCHED_FX", (long)SCHED_FSS)) return -1;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_ATTR_XATTR_H
|
#ifdef HAVE_ATTR_XATTR_H
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue