![]() |
![]() |
![]() |
![]() |
Get the execution time limit of a process
#include <sched.h> int sched_rr_get_interval( pid_t pid, struct timespec * interval );
libc
The sched_rr_get_interval() function updates interval with the current execution time limit for the process, pid. If pid is 0, the current execution time limit for the calling process is returned.
POSIX 1003.1 (Realtime Extensions)
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
![]() |
![]() |
![]() |
![]() |