This two-part series addresses the use and misuse of two of the most essential synchronization primitives in modern embedded systems, the mutex (this part) and the semaphore (part 2). Mutexes and ...
A thread of execution is a set of instructions that are managed by a scheduler. If you make a new thread separate from your program’s main thread, a new independent execution flow will be added to ...
Ring buffers are incredibly useful data structures that allow for data to be written and read continuously without having to worry about where the data is being written to or read from. Although they ...