Function rc_pthread_get_process_niceness¶
Defined in File pthread.h
Function Documentation¶
-
int rc_pthread_get_process_niceness(void)¶
fetches the niceness value of the executing process
This is just a helpful wrapper for the system getpriority function and returns the same value.
- Returns
niceness (-20 to 20) or -1 on failure and sets errno