Linux计时器

Linux中用户态能够使用的计时器主要有alarm和timer.timer能够提供更加精确的时间,alarm只能精确到秒。函数   #include <sys/time.h>继承 int getitimer(int which, struct itimerval *curr_value);进程 int setitimer(int which, const struct itimerval *new
相关文章
相关标签/搜索