Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\posix-timers.c Create Date:2022-07-28 10:46:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:This function is exported for use by the signal deliver code. It is* called just prior to the info block being released and passes that* block to us. It's function is to update the overrun entry AND to* restart the timer

Proto:void posixtimer_rearm(struct kernel_siginfo *info)

Type:void

Parameter:

TypeParameterName
struct kernel_siginfo *info
292  timr = lock_timer(si_tid, & flags)
293  If Not timr Then Return
296  If it_interval && it_requeue_pending == si_sys_private Then
297  timer_rearm(timr)
299  it_active = 1
300  it_overrun_last = it_overrun
301  it_overrun = -1LL
302  ++it_requeue_pending
304  si_overrun = The siginfo si_overrun field and the return value of timer_getoverrun(2)* are of type int. Clamp the overrun value to INT_MAX
307  unlock_timer(timr, flags)