Hi Juan,

thanks a lot for your answer. I will try your approach.

I'm curious as to the application of this, since RIOT does not run on multiple processor systems, what is the advantage of this approach over serial processing in a single thread (other than bypassing blocking calls).

I'm just trying to use a vendor binary library for a RIOT port that is written for FreeRTOS. Therefore, I try to implement a small FreeRTOS to RIOT mapping layer which provides the required functions on top of the RIOT kernel.

In FreeRTOS the queue mechanism is independent on tasks. You define a queue with a certain queue lenght and arbitrary item size. All exisiting tasks can send items to and receive items from this queue, also on single processor architectures.

Regards
Gunar


Regards,

Juan.

On 07/12/2018 09:58 AM, Gunar Schorcht wrote:
Hi,

what would be the best way, if there is one, to use the existing
mechanisms to implement a message queue that is not bound to the
receiving thread?

What I'm looking for is a message queue that can be used by a number of
threads to send messages to and receive messages from the shared queue,
as it is possible in FreeRTOS, for example.

Regards
Gunar



_______________________________________________
devel mailing list
[email protected]
https://lists.riot-os.org/mailman/listinfo/devel

_______________________________________________
devel mailing list
[email protected]
https://lists.riot-os.org/mailman/listinfo/devel



_______________________________________________
devel mailing list
[email protected]
https://lists.riot-os.org/mailman/listinfo/devel

Reply via email to