Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Clean out CPU timers which are still armed when a thread exits. The* timers are only removed from the list. No other updates are done. The* corresponding posix timers are still accessible, but cannot be rearmed.* This must be called with the siglock held.

Proto:static void cleanup_timers(struct posix_cputimers *pct)

Type:void

Parameter:

TypeParameterName
struct posix_cputimers *pct
464  cleanup_timerqueue( & tqhead)
465  cleanup_timerqueue( & tqhead)
466  cleanup_timerqueue( & tqhead)
Caller
NameDescribe
posix_cpu_timers_exitThese are both called with the siglock held, when the current thread* is being reaped. When the final (leader) thread in the group is reaped,* posix_cpu_timers_exit_group will be called after posix_cpu_timers_exit.
posix_cpu_timers_exit_group