try to fix workqueue bug

This commit is contained in:
John Doe
2023-12-11 07:48:30 +00:00
parent 40b3cb2a60
commit 894a10c486
3 changed files with 31 additions and 5 deletions

View File

@@ -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);
void cancel_all_hrTimer(void);
// for work
void cancel_all_work(void);
void cancel_destory_all_work(void);