Tenok
A Linux-like Real-Time Operating System for Robotics and Internet of Things
softirq.h
Go to the documentation of this file.
1 
4 #ifndef __KERNEL_SOFTIRQ_H__
5 #define __KERNEL_SOFTIRQ_H__
6 
7 struct tasklet_struct {
8  void (*func)(unsigned long);
9  unsigned long data;
10  struct list_head list;
11 };
12 
20 void tasklet_init(struct tasklet_struct *t,
21  void (*func)(unsigned long),
22  unsigned long data);
23 
29 void tasklet_schedule(struct tasklet_struct *t);
30 
31 void softirqd(void);
32 
33 #endif
void tasklet_init(struct tasklet_struct *t, void(*func)(unsigned long), unsigned long data)
Initialize the tasklet.
Definition: softirq.c:16
void tasklet_schedule(struct tasklet_struct *t)
Schedule the tasklet.
Definition: softirq.c:24
Definition: list.h:111
Definition: softirq.h:7