FreeRTOS series | mutually exclusive semaphores
Mutually exclusive semaphore
1. Priority reversal
Priority reversal is a common problem when using binary semaphores. It is very common in the deprivable kernel, but it is not allowed in the real-time system, because it will destroy the expected sequence of tasks and may lead to serious consequences.
An example of priority reversal is shown ...
Posted by slimboy007 on Fri, 04 Mar 2022 15:49:33 +0100
fork problem under multithreading (simulation and solution)
preface
For the concepts of process, multithreading and fork, please see the two articles I wrote before. Linux: process control (process creation, process termination, process waiting, process program replacement) Linux: detailed explanation of multithreading (thread concept, thread control - thread creation, thread termination, thread wa ...
Posted by slak on Mon, 03 Jan 2022 11:09:55 +0100