Chapter 5: The Name of Killing – Four Directions Sound Transmission and Void Probe

Chapter 5: The Name of Killing - Four Directions Sound Transmission and Void Probe

Chapter 5: The Name of Killing – Four Directions Sound Transmission and Void Probe [Location: Operating Realm · Battle Platform · Inner Gate of the Process Sect] “Is that it?” A newly initiated disciple held a spell called <span>kill</span> with a puzzled expression, “Senior Brother, this spell is called ‘Kill’, does it have no other … Read more

C++ Multithreading Magic Guide: The Atomic Button Machine

⚛️ std::atomic — The Mysterious Power of the Atomic Button Machine ⚙️ <span>std::atomic</span> is a concurrent primitive provided by C++, allowing you to operate on a variable in a multithreaded environment without needing locks to ensure consistency. Its core goal: “To allow multiple threads to read and write to a variable simultaneously without conflicts, without … Read more

FreeRTOS Critical Section

FreeRTOS Critical Section

“ In the ESP32 multi-tasking system based on FreeRTOS, sharing resources among multiple tasks or interrupts can easily lead to race conditions. To address this issue, critical sections are essential. The following will elaborate on their function and principles, detail the relevant APIs in the IDF version, and provide code examples in scenarios such as … Read more

Concurrency Control and Thread Safety in Embedded Environments

Concurrency Control and Thread Safety in Embedded Environments

The increasing scale of code and multi-threading technology based on RTOS has made embedded software development more focused on “concurrency control and thread safety.” When multiple execution threads (referring to any context running code, including threads and interrupt service routines) need to access the same shared resources (including software data and hardware resources), errors may … Read more