程序员让前端飞

每日科技英文41: 抢先(抢占式)与轮询的概念

2017-12-10  本文已影响95人  随风而行之青衫磊落险峰行

今日要点:

  1. 抢先(抢占式)与轮询的概念
  2. be动词及11种表语(下) 后六种

Preemptive(抢先,抢占式)

A scheduler is said to be preemptive if it allows the running task to be suspended when a higher-priority task becomes ready. Non-preemptive schedulers are easier to implement but less appropriate for embedded systems.

当一个高优先级的任务准备好时,充许正在运行的任务被挂起的调度策略被称为优先(抢占)。无优先(非抢占式)的调度策略更容易实现一些但适合在嵌入式系统中使用。

Polling(轮询)

A method of interfacing with hardware that involves repeatedly reading a status register until the device has reached the awaited state. Device drivers are either polling or interrupt-driven, with the latter being more generally preferred.

一种硬件交互方法,不断读状态寄存器,直到设备进入等待状态。设备驱动程序不是轮询的就是中断驱动的,后一种越来越成为首选的。

今日语法小知识:be动词及11种表语(下)

后六种:

  1. 形容词:
    she is beautiful
    她很漂亮

  2. 现在分词:
    The story is intersting.
    故事很有趣

  3. 过去分词:
    I am interested in the story
    我对故事很感兴趣

  4. 介词短语:
    The book is of no use.
    这本书没啥用

  5. 地点副词:
    Is he home now?
    他到家了吗(home是地点副词,常用的还有here,there等)

  6. 地点副词短语:
    They are at home.
    他们在家

上一篇 下一篇

猜你喜欢

热点阅读