> I want to know that setitimer can be used on a per thread basis or > not. POSIX specifies that the setitimer clocks are per-process, not per-thread. Linux had them per-thread until recently, but in current versions (including FC4) it is per-process. If you want more options for timers, you can use timer_create and the related interfaces.