由买买提看人间百态

topics

全部话题 - 话题: setitimer
(共0页)
c*r
发帖数: 278
1
来自主题: Programming版 - How to set a timer in C?
interval timer and SIGALRM.
use alarm() or setitimer().
set proper handler for SIGALRM
r*********r
发帖数: 3195
2
alarm() 's timer is not very accurate. get/setitimer() can be precise up to
microsec.
j***y
发帖数: 87
3
来自主题: Unix版 - [转载] alarm, pause 又一问

you can try setitimer for BSD based (4.2 or later) system,
or settimer for POSIX based system. They have higher resolution
than alarm, although the accuracy may be machine-dependent.
t******q
发帖数: 117
4
来自主题: Unix版 - does Linux has real time timer?
rt,
have a system call setitimer(),
has ms level timer will give SIGALARM sig when expired.
is it a real time timer?
thanks
Thomas
t******q
发帖数: 117
5
来自主题: Unix版 - does Linux has real time timer?
Seems setitimer() can be used only one in a process.
and 1/1000 is not precise enough for a timer.
looking at linux real time implementation.
want to know the last news about the POSIX 1.b implement on
linux.
would you please give me some iformation?
since I can not find even at the last 2.4.0 kernel.
the kernel.org can only dl the souce code no much
information
gaven.
Thanks
(共0页)