Fading Coder

One Final Commit for the Last Sprint

Implementing Task Management and Binary Semaphores in FreeRTOS for STM32

Task Execution Mechanism When a task is successfully created, it's placed in the ready queue. Once the scheduler starts, it selects the highest-priority task from this queue for execution. If multiple tasks share the same priority, they execute in the order they were created. During execution, a tas...

Implementing Semaphores, Mutexes, and Concurrency Control in Linux Device Drivers

Semaphores: Blocking-Based Concurrency Control Semaphores provide a synchronization mechanism for managing access to shared resources, particularly useful when critical sections involve longer execution times. Semaphore Operations // Define a semaphore struct semaphore sync_sem; // Initialize semaph...