Page 1 of 1

Sending Data to Queue from Tasks in Both Cores

Posted: Thu Dec 24, 2020 3:15 pm
by gfvalvo
Hello. Just starting to relearn RTOS techniques learned in college MANY years ago.

So, if I have tasks running in Core 0 and Core 1, can they each safely send data to the same FreeRTOS queue without any special precautions? Or, should the queue first be locked using a mutex?

Thanks.

Re: Sending Data to Queue from Tasks in Both Cores

Posted: Sat Dec 26, 2020 3:08 pm
by chegewara
You can send to queue from as many tasks as you want, from both cores.