sched: Map both NZERO and PTHREAD_DEFAULT_PRIORITY to SCHED_PRIORITY_DEFAULT

to unify the default thread priority

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2023-01-22 01:42:53 +08:00 committed by Alin Jerpelea
parent 55565a6099
commit e166360e8d
2 changed files with 3 additions and 3 deletions

View file

@ -281,10 +281,10 @@
#define NL_TEXTMAX _POSIX2_LINE_MAX
/* NZERO
* Default process priority. Minimum Acceptable Value: 128
* Default process priority. Minimum Acceptable Value: 100
*/
#define NZERO 128
#define NZERO SCHED_PRIORITY_DEFAULT
/* Required for asynchronous I/O */