From 894a10c48642d4f2948a7f5ef0ec3e8a8bfbb5ab Mon Sep 17 00:00:00 2001 From: John Doe Date: Mon, 11 Dec 2023 07:48:30 +0000 Subject: try to fix workqueue bug --- source/module/monitor_timer.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source/module/monitor_timer.h') diff --git a/source/module/monitor_timer.h b/source/module/monitor_timer.h index 3fec723..25dc68d 100644 --- a/source/module/monitor_timer.h +++ b/source/module/monitor_timer.h @@ -63,4 +63,8 @@ unsigned char timer_del_watch_by_pid(kernel_watch_timer *timer, pid_t pid); extern enum hrtimer_restart check_variable_cb(struct hrtimer *timer); // callback void start_all_hrTimer(void); -void cancel_all_hrTimer(void); \ No newline at end of file +void cancel_all_hrTimer(void); + +// for work +void cancel_all_work(void); +void cancel_destory_all_work(void); \ No newline at end of file -- cgit v1.2.3