Merge "<sched.h> should offer both __sched_priority and sched_priority."

This commit is contained in:
Elliott Hughes
2014-01-08 02:41:04 +00:00
committed by Gerrit Code Review

View File

@@ -39,8 +39,9 @@ __BEGIN_DECLS
#define SCHED_OTHER SCHED_NORMAL
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_getscheduler(pid_t);