summaryrefslogtreecommitdiff
path: root/source/module/monitor_timer.c
diff options
context:
space:
mode:
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;