add delay
This commit is contained in:
@@ -35,10 +35,11 @@ typedef struct {
|
||||
unsigned sentinel; // sentinel
|
||||
kernel_watch_arg
|
||||
k_watch_args[TIMER_MAX_WATCH_NUM]; // all watched kernel_watch_arg
|
||||
int threshold_num; // all over threshold number,
|
||||
int threshold_over_count; // all over threshold number,
|
||||
// 0 means no handle needed
|
||||
int threshold_buffer[TIMER_MAX_WATCH_NUM]; //
|
||||
struct work_struct wk; // for handle
|
||||
unsigned long long tv; // time
|
||||
} kernel_watch_timer;
|
||||
|
||||
// Global variable
|
||||
|
||||
Reference in New Issue
Block a user