![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Embedded
amonkun
这个作者很懒,什么都没留下…
展开
-
(ZT)想成为嵌入式程序员应知道的0x10个基本问题
1 . 用预处理指令#define 声明一个常数,用以表明1年中有多少秒(忽略闰年问题)#define SECONDS_PER_YEAR (60 * 60 * 24 * 365)UL我在这想看到几件事情:1) #define 语法的基本知识(例如:不能以分号结束,括号的使用,等等)2)懂得预处理器将为你计算常数表达式的值,因此,直接写出你是如何计算一年中有多少秒而不是计算出实际的值,是更清晰而没有转载 2006-09-16 15:14:00 · 722 阅读 · 0 评论 -
Real-Time Concepts for Embedded Systems----读书笔记
"A task is an independent thread of execution that contains a sequence of independently schedulable instructions. Some kernels provide another type of a schedulable object called a process. Processes原创 2006-07-14 20:46:00 · 1449 阅读 · 2 评论