diff --git a/include/limits.h b/include/limits.h index 4e4e59312f..98b7dc724e 100644 --- a/include/limits.h +++ b/include/limits.h @@ -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 */ diff --git a/include/pthread.h b/include/pthread.h index 639badd12f..d7d01c2c89 100644 --- a/include/pthread.h +++ b/include/pthread.h @@ -117,7 +117,7 @@ /* Default priority */ -#define PTHREAD_DEFAULT_PRIORITY 100 +#define PTHREAD_DEFAULT_PRIORITY SCHED_PRIORITY_DEFAULT /* Cancellation states used by pthread_setcancelstate() */