"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 are similar to tasks in that they can independently compete for CPU execution time. Processes differ from tasks in that they provide better memory protection features, at the expense of performance and memory overhead. Despite these differences, for the sake of simplicity, this book uses task to mean either a task or a process. "
任务是一个包含了一系列独立的调度指令的独立线程.一些内核提供另外一种被称作进程的调度对象.进程跟任务的相似点是它们能够独立地占用CPU执行时间.不同点是进程提供更好的内存保护功能,从而性能和内存的开销增大.尽管有这些不同,从简单化方面考虑,本书用"任务"这个词来表示任务或是进程.
看原版书也有两本了,第一本是<<A Book on C:Programming in C,Fourth Edition >>,第二本是<<An Embedded Software Primer >>,最初是怀着崇敬的心情看的,感觉还行,都能看懂,毕竟当时C语言学完了,所以A Book on C看着不怎么费劲,<<An Embedded Software Primer >>是我一口气读完的,花了大概六个星期,很爽的感觉.老外写书很讲究艺术,读起来是一种享受,有一种悟道的感觉.
文字只不过是思想的载体
换一种文字来获取新的思想真的是非常神奇
一种只可意会而无法言传的美妙
思想依附于文字
却又超脱于文字