ROSS
build
bin
include
queue
util.h
Go to the documentation of this file.
1
#ifndef INC_queue_util_h
2
#define INC_queue_util_h
3
4
#include "ross-types.h"
5
6
// Executes a function (passed as a pointer) on every event and its lp
7
void
tw_walkthrough_events_in_queue
(
void
(*) (
tw_lp
* lp,
tw_event
* event));
8
// The functions below can only be used within `tw_walkthrough_events_in_queue`. Used anywhere else will result in undefined behavior
9
void
tw_delete_event_please
(
void
);
10
void
tw_change_timestamp_of_event_please
(
void
);
11
12
// Executes a function (passed as a pointer) on every LP
13
void
tw_walkthrough_lps
(
void
(*) (
tw_lp
* lp));
14
15
#endif
/* INC_queue_util_h */
tw_event
Event Stucture.
Definition
ross-types.h:277
tw_lp
LP State Structure.
Definition
ross-types.h:336
tw_change_timestamp_of_event_please
void tw_change_timestamp_of_event_please(void)
tw_delete_event_please
void tw_delete_event_please(void)
tw_walkthrough_lps
void tw_walkthrough_lps(void(*)(tw_lp *lp))
tw_walkthrough_events_in_queue
void tw_walkthrough_events_in_queue(void(*)(tw_lp *lp, tw_event *event))
Generated by
1.14.0