ROSS
tw-queue.h
Go to the documentation of this file.
1 #include <ross.h>
2 
3 // This is the API for the tw queue system
4 // There are several queue implementations
5 
6 tw_pq *tw_pq_create(void);
7 void tw_pq_enqueue(tw_pq *, tw_event *);
11 unsigned int tw_pq_get_size(tw_pq *);
12 unsigned int tw_pq_max_size(tw_pq *);
13 #ifdef ROSS_QUEUE_kp_splay
14 tw_eventpq * tw_eventpq_create(void);
15 #endif
tw_stime tw_pq_minimum(tw_pq *)
Definition: splay.c:345
double tw_stime
Definition: ross.h:150
unsigned int tw_pq_max_size(tw_pq *)
Definition: splay.c:357
void tw_pq_enqueue(tw_pq *, tw_event *)
Definition: splay.c:195
void tw_pq_delete_any(tw_pq *, tw_event *)
Definition: splay.c:288
Event Stucture.
Definition: ross-types.h:250
unsigned int tw_pq_get_size(tw_pq *)
Definition: splay.c:351
tw_event * tw_pq_dequeue(tw_pq *)
Definition: splay.c:245
Definition: splay.c:36
tw_pq * tw_pq_create(void)
Definition: splay.c:54