ROSS
tw-event.c File Reference
#include <ross.h>
#include <assert.h>

Go to the source code of this file.

Macros

#define INCREASE_ABORTED_COUNT(event)

Functions

static void link_causality (tw_event *nev, tw_event *cev)
void tw_event_send (tw_event *event)
static void local_cancel (tw_pe *d, tw_event *event)
static void event_cancel (tw_event *event)
void tw_event_rollback (tw_event *event)

Macro Definition Documentation

◆ INCREASE_ABORTED_COUNT

#define INCREASE_ABORTED_COUNT ( event)

Definition at line 7 of file tw-event.c.

Referenced by tw_event_send().

Function Documentation

◆ event_cancel()

◆ link_causality()

void link_causality ( tw_event * nev,
tw_event * cev )
inlinestatic

Definition at line 10 of file tw-event.c.

References tw_event::cause_next, and tw_event::caused_by_me.

Referenced by tw_event_send().

◆ local_cancel()

void local_cancel ( tw_pe * d,
tw_event * event )
inlinestatic

Definition at line 122 of file tw-event.c.

References tw_pe::cancel_q.

Referenced by event_cancel().

◆ tw_event_rollback()

◆ tw_event_send()