Contents

lockDequeue

Removes a single packet from the head of a synchronized queue.

Declaration

virtual mbuf_t lockDequeue();

Return Value

Returns a packet removed from the head of the queue, or NULL if the queue was empty.

Overview

A spinlock is used to synchronize access to the queue.

See Also

Miscellaneous