Get execution time limits (REALTIME).
2. Syntax
1 |
int sched_rr_get_interval(pid_t pid, struct timespec *interval); |
3. Param
pid
process pid.
if pid is zero, pid will be current process.
interval
Get current execution time limit.
4. Return Value
Upon successful, return zero; otherwise, return -1, and set errno to indicate the error.
近期评论