summaryrefslogtreecommitdiff
path: root/source/module/monitor_timer.c
diff options
context:
space:
mode:
authorzy <[email protected]>2023-12-12 11:50:10 +0800
committerzy <[email protected]>2023-12-12 11:50:10 +0800
commit636b2df0dd2179969b25d3f62bccd535f219f18e (patch)
treebeda911df984ed932778c67ad4d076cecf5e9c64 /source/module/monitor_timer.c
parentfddda83a880748d62dce1cfb1a3e13e09f0e0ba7 (diff)
code clean
Diffstat (limited to 'source/module/monitor_timer.c')
-rw-r--r--source/module/monitor_timer.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/source/module/monitor_timer.c b/source/module/monitor_timer.c
index 705f97e..4652bc4 100644
--- a/source/module/monitor_timer.c
+++ b/source/module/monitor_timer.c
@@ -164,7 +164,10 @@ void cancel_all_hrTimer(void) {
printk(KERN_INFO "HrTimer cancel,module keep %d hrtimer for now\n", kernel_wtimer_num);
}
-
+/**
+ * @brief cancel all work
+ *
+ */
void cancel_all_work(void) {
int i = 0;
kernel_watch_timer *timer = NULL;
@@ -174,6 +177,10 @@ void cancel_all_work(void) {
}
}
+/**
+ * @brief destory all work
+ *
+ */
void cancel_destory_all_work(void) {
int i = 0;
kernel_watch_timer *timer = NULL;