Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
f2cb4e8b
Commit
f2cb4e8b
authored
Sep 09, 2011
by
Jesus Cea
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Close issue 12952: Solaris/Illumos (OpenIndiana) Scheduling policies
parent
1e1c8f49
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
Modules/posixmodule.c
Modules/posixmodule.c
+13
-1
No files found.
Modules/posixmodule.c
View file @
f2cb4e8b
...
...
@@ -11301,12 +11301,12 @@ all_ins(PyObject *d)
#endif
#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_RR"
,
(
long
)
SCHED_RR
))
return
-
1
;
#ifdef SCHED_SPORADIC
if
(
ins
(
d
,
"SCHED_SPORADIC"
,
(
long
)
SCHED_SPORADIC
)
return
-
1
;
#endif
if
(
ins
(
d
,
"SCHED_OTHER"
,
(
long
)
SCHED_OTHER
))
return
-
1
;
#ifdef SCHED_BATCH
if
(
ins
(
d
,
"SCHED_BATCH"
,
(
long
)
SCHED_BATCH
))
return
-
1
;
#endif
...
...
@@ -11316,6 +11316,18 @@ all_ins(PyObject *d)
#ifdef SCHED_RESET_ON_FORK
if
(
ins
(
d
,
"SCHED_RESET_ON_FORK"
,
(
long
)
SCHED_RESET_ON_FORK
))
return
-
1
;
#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
#ifdef HAVE_ATTR_XATTR_H
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment