![]() |
![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Get the execution time limit of a process
#include <sched.h> int sched_rr_get_interval( pid_t pid, struct timespec * interval );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
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.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | Yes |
Thread | Yes |
![]() |
![]() |
![]() |
![]() |