ROSS
tw-queue.h File Reference
#include "ross-types.h"

Go to the source code of this file.

Functions

tw_pqtw_pq_create (void)
void tw_pq_enqueue (tw_pq *, tw_event *)
tw_eventtw_pq_dequeue (tw_pq *)
tw_stime tw_pq_minimum (tw_pq *)
void tw_pq_delete_any (tw_pq *, tw_event *)
unsigned int tw_pq_get_size (tw_pq *)
unsigned int tw_pq_max_size (tw_pq *)

Function Documentation

◆ tw_pq_create()

tw_pq * tw_pq_create ( void )

Definition at line 56 of file splay.c.

◆ tw_pq_delete_any()

void tw_pq_delete_any ( tw_pq * st,
tw_event * r )

Definition at line 341 of file splay.c.

◆ tw_pq_dequeue()

tw_event * tw_pq_dequeue ( tw_pq * st)

Definition at line 298 of file splay.c.

Referenced by tw_pq_delete_any().

◆ tw_pq_enqueue()

void tw_pq_enqueue ( tw_pq * st,
tw_event * e )

Definition at line 245 of file splay.c.

◆ tw_pq_get_size()

unsigned int tw_pq_get_size ( tw_pq * st)

Definition at line 418 of file splay.c.

◆ tw_pq_max_size()

unsigned int tw_pq_max_size ( tw_pq * pq)

Definition at line 424 of file splay.c.

◆ tw_pq_minimum()

tw_stime tw_pq_minimum ( tw_pq * pq)

Definition at line 398 of file splay.c.