»
(008) CubeIDE Implementation of USB Peripherals*
(018) C99 pointer*
(019) C99 With only value assignment*
(022) POSIX pthread multi-threads mutex*
(023) POSIX pthread multi-threads programming*
(027) C99 time and wait*
(028) High-precision calculation with GMP*
(029) Web Service Lib*
(030) International Components for Unicode (ICU)*
(031) Performance of C is higher than C++, because...*
🕹️(006) Cautions of different priority tasks locked
任务创建注意事项: 1、优先级反转问题: 高优先级进程等待低优先级进程的资源,但低优先级进程的时间片一直被中优先级的进程抢占。 导致: 低优先级的进程的资源一直不能释放,高优先级的进程一直不能被执行,导致系统重启。 2、独占CPU问题: 高优先级进程,使用while(time--);方式的Delay,导致,高优先级任务独占CPU,导致其他优先级的进程任何时候不能被调度。