14 #ifndef DATAGRAMQUEUE_H 15 #define DATAGRAMQUEUE_H 35 bool insert(
const NetDatagram &data,
bool block =
false);
38 void set_max_queue_size(
int max_size);
39 int get_max_queue_size()
const;
40 int get_current_queue_size()
const;
A specific kind of Datagram, especially for sending across or receiving from a network.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A standard mutex, or mutual exclusion lock.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class implements a condition variable; see ConditionVar for a brief introduction to this class.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A thread-safe, FIFO queue of NetDatagrams.