* The clock_cpu_settimeout() fucntion set timeout time and timeout callback function * The timeout callback function will be called when the timeout time is reached * * @param tick the Timeout tick * @param timeout the Timeout function * @param parameter the Parameters of timeout function * */
| 53 | * |
| 54 | */ |
| 55 | int clock_cpu_settimeout(uint64_t tick, void (*timeout)(void *param), void *param) |
| 56 | { |
| 57 | if (_cputime_ops) |
| 58 | return _cputime_ops->cputime_settimeout(tick, timeout, param); |
| 59 | |
| 60 | rt_set_errno(ENOSYS); |
| 61 | return 0; |
| 62 | } |
| 63 | |
| 64 | int clock_cpu_issettimeout(void) |
| 65 | { |
no test coverage detected