Merge "Revert "<sched.h> should offer both __sched_priority and sched_priority.""
This commit is contained in:
commit
66ca82495c
@ -39,9 +39,8 @@ __BEGIN_DECLS
|
|||||||
#define SCHED_OTHER SCHED_NORMAL
|
#define SCHED_OTHER SCHED_NORMAL
|
||||||
|
|
||||||
struct sched_param {
|
struct sched_param {
|
||||||
int __sched_priority;
|
int sched_priority;
|
||||||
};
|
};
|
||||||
#define sched_priority __sched_priority
|
|
||||||
|
|
||||||
extern int sched_setscheduler(pid_t, int, const struct sched_param*);
|
extern int sched_setscheduler(pid_t, int, const struct sched_param*);
|
||||||
extern int sched_getscheduler(pid_t);
|
extern int sched_getscheduler(pid_t);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user