ROSS
ross-kernel-inline.h File Reference

Go to the source code of this file.

Macros

#define ROSS_MAX(a, b)
#define ROSS_MIN(a, b)

Functions

static tw_lptw_getlocal_lp (tw_lpid gid)
static tw_lptw_getlp (tw_lpid id)
static tw_kptw_getkp (tw_kpid id)
static int tw_ismaster (void)
static void * tw_getstate (tw_lp *lp)
static tw_stime tw_now (tw_lp const *lp)
static tw_event_sig tw_now_sig (tw_lp const *lp)

Macro Definition Documentation

◆ ROSS_MAX

◆ ROSS_MIN

#define ROSS_MIN ( a,
b )
Value:
((a) < (b) ? (a) : (b))

Definition at line 9 of file ross-kernel-inline.h.

Referenced by gvt_print().

Function Documentation

◆ tw_getkp()

tw_kp * tw_getkp ( tw_kpid id)
inlinestatic

◆ tw_getlocal_lp()

◆ tw_getlp()

tw_lp * tw_getlp ( tw_lpid id)
inlinestatic

◆ tw_getstate()

void * tw_getstate ( tw_lp * lp)
inlinestatic

Definition at line 77 of file ross-kernel-inline.h.

References tw_lp::cur_state.

◆ tw_ismaster()

int tw_ismaster ( void )
inlinestatic

◆ tw_now()

◆ tw_now_sig()

tw_event_sig tw_now_sig ( tw_lp const * lp)
inlinestatic

Definition at line 90 of file ross-kernel-inline.h.

References tw_lp::kp, and tw_kp::last_sig.

Referenced by tw_lp_suspend().