EVE 1.0
work.h File Reference

Header file for the EVE work scheduling. More...

#include <stdbool.h>
#include <lib/dlist.h>
Include dependency graph for work.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  work_t
 
struct  swint_state_t
 

Macros

#define WORK_INIT(work, callback)
 
#define WORK_INIT_TYPED(work, callback)   (struct work_t) WORK_INIT(work, callback)
 
#define DECLARE_WORK(work, callback)   struct work_t work = WORK_INIT(work, callback)
 
#define SWINT_AUTO_LOCK()
 

Typedefs

typedef void(* work_cb_t) (struct work_t *work)
 

Functions

void work_schedule (struct work_t *work)
 
void work_cancel (struct work_t *work)
 
static bool work_pending (struct work_t *work)
 
swint_state_t swint_disable (void)
 
void swint_enable (swint_state_t state)
 
 __attribute__ ((always_inline)) static inline void swint_enable_indirect_adapter(swint_state_t *state)
 

Detailed Description

Header file for the EVE work scheduling.

Author
DT, Jetro AS

Definition in file work.h.