ESP32 No-Split Ring Buffers thread safety?

A6ESPF
Posts: 28
Joined: Tue Dec 10, 2019 12:16 pm

ESP32 No-Split Ring Buffers thread safety?

Postby A6ESPF » Sat Dec 17, 2022 10:09 pm

Are ESP32 No-Split Ring Buffers thread safe? In my application I have a single reader task which calls xRingbufferReceive and vRingbufferReturnItem when the item is processed, but multiple writer tasks which call xRingbufferSendAcquire and xRingbufferSendComplete on the same Ring Buffer. Should I protect those calls with a mutex?

Who is online

Users browsing this forum: jialin.yang and 120 guests