Receives a message over the message queue with a timeout.
impl MsgQueue {
fn recv_timeout(&self, buf: &'a mut [u8], timeout: Time) -> Result<(&'a mut [u8], u16), Errno>
}| Name | Description |
|---|---|
| buf | A buffer in which the message will be stored. |
| timeout | Until when this function should block. |
Returns the message and its priority.
The timeout argument is absolute. See the example in send_timeout.