Gets a message from the bus, waiting up to the specified timeout.
If timeout
is 0, this function behaves like pop. If timeout
is
CLOCK_TIME_NONE, this function will block forever until a message was posted on
the bus.
this |
a Bus to pop |
timeout |
a timeout |
the Message that is on the bus after the specified timeout or |