FreeRTOS semaphore --- binary semaphore

Semaphores can be used for resource management and task synchronization. Semaphores in FreeRTOS are divided into binary semaphores, computational semaphores, mutually exclusive semaphores and recursive mutually exclusive semaphores. 0x01 binary semaphore Binary semaphore is actually a queue with only one queue item. This special queue is eith ...

Posted by Saethyr on Fri, 26 Nov 2021 13:09:45 +0100

[RTOS] queue structure based on RTOS source code

catalogueprefaceIPCMember analysiscRxLock and cTxLockTrigger unblockAttachment - source code preface The following RTOS is based on FreeRTOS source code analysis. It is recommended to look at the source code directly. Li Zhuming's blog: https://www.cnblogs.com/lizhuming/p/15487239.html IPC I think one of the structures that must be understood ...

Posted by Grimloch on Thu, 04 Nov 2021 06:35:38 +0100