[riot-users] How to use msg_receive with a timeout

Ludwig Knüpfer ludwig.knuepfer at fu-berlin.de
Tue Jun 6 05:46:58 CEST 2017


A good question that has been answered in our documentation already:


Timing & messages

Timing out the reception of a message or sending messages at a certain time is out of scope for the basic IPC provided by the kernel. See the xtimer module on information for these functionalities.




Am 5. Juni 2017 21:49:40 MESZ schrieb "Aurélien Fillau" <aurelien.fillau at gmail.com>:
>Hi everyone,
>Is there a way to have the same behavior as the xQueueReceive function
>implemented in FreeRTOS with a timeout that can be specified in order
>not block our task infinitly.
>I have taken a look msg.h interface, but i can't find something that
>like what i want?
>Am i missing something ?
>Thank you very much.

More information about the users mailing list