Tenok
A Linux-like Real-Time Operating System for Robotics and Internet of Things
Data Structures | Functions
softirq.h File Reference

Go to the source code of this file.

Data Structures

struct  tasklet_struct
 

Functions

void tasklet_init (struct tasklet_struct *t, void(*func)(unsigned long), unsigned long data)
 Initialize the tasklet. More...
 
void tasklet_schedule (struct tasklet_struct *t)
 Schedule the tasklet. More...
 
void softirqd (void)
 

Function Documentation

◆ tasklet_init()

void tasklet_init ( struct tasklet_struct t,
void(*)(unsigned long)  func,
unsigned long  data 
)

Initialize the tasklet.

Parameters
tPointer to the tasklet.
funcThe tasklet function to execute if scheduled.
dataThe data passed with the tasklet function.
Return values
None

◆ tasklet_schedule()

void tasklet_schedule ( struct tasklet_struct t)

Schedule the tasklet.

Parameters
tPointer to the tasklet.
Return values
None