V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
DinoStray
V2EX  ›  问与答

面向事件编程的时候, 经常遇到 poll 这个单词, 该怎么理解?

  •  
  •   DinoStray · 2021-04-13 15:00:11 +08:00 · 1268 次点击
    这是一个创建于 1109 天前的主题,其中的信息可能已经有所发展或是发生改变。

    查了字典, 这个词是 投票 的意思, 还是悟不透

    9 条回复    2021-04-14 08:36:22 +08:00
    namelosw
        1
    namelosw  
       2021-04-13 15:01:12 +08:00
    一般指轮询
    namelosw
        2
    namelosw  
       2021-04-13 15:01:37 +08:00
    也有池的意思,线程池之类的
    InternetExplorer
        3
    InternetExplorer  
       2021-04-13 15:02:33 +08:00
    轮询,什么投票 ╮(╯_╰)╭
    namelosw
        4
    namelosw  
       2021-04-13 15:04:47 +08:00
    #2 说错了 池是 pool
    whisp
        5
    whisp  
       2021-04-13 15:08:36 +08:00   ❤️ 2
    a study in which people are asked for their opinions about a subject or person
    可以理解为对所有人进行询问,得到的回复就是 poll 的结果
    youmoo
        6
    youmoo  
       2021-04-13 15:11:24 +08:00   ❤️ 2
    维基百科上有词条专门解释了这个。我抽取 2 句吧:

    1. Polling, or polled operation, in computer science, refers to actively sampling the status of an external device by a client program as a synchronous activity. Polling is most often used in terms of input/output (I/O), and is also referred to as polled I/O or software-driven I/O.

    2. Polling is the process where the computer or controlling device waits for an external device to check for its readiness or state, often with low-level hardware.

    简单地说,poll 是(主动地)检查外部设备的(就绪)状态。这里的外部设备不一定指硬件,只要有(多种)状态,都可以拿来 poll 。
    superrichman
        7
    superrichman  
       2021-04-13 15:25:04 +08:00 via iPhone   ❤️ 3
    bluekylin360
        8
    bluekylin360  
       2021-04-13 18:04:42 +08:00
    言简意骇翻译成中文表达应该如何写呢?
    MintZX
        9
    MintZX  
       2021-04-14 08:36:22 +08:00 via iPhone
    @bluekylin360 探询
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3708 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 10:23 · PVG 18:23 · LAX 03:23 · JFK 06:23
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.