DinoStray
V2EX  ›  问与答

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

  •  
  •   DinoStray · Apr 13, 2021 · 2506 views
    This topic created in 2031 days ago, the information mentioned may be changed or developed.

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

    9 replies  •  2021-04-14 08:36:22 +08:00
    namelosw
    namelosw
    Apr 13, 2021
    1
    一般指轮询
    namelosw
    namelosw
    Apr 13, 2021
    2
    也有池的意思,线程池之类的
    InternetExplorer
    InternetExplorer
    Apr 13, 2021
    3
    轮询,什么投票 ╮(╯_╰)╭
    namelosw
    namelosw
    Apr 13, 2021
    4
    #2 说错了 池是 pool
    whisp
    whisp
    Apr 13, 2021❤️2
    5
    a study in which people are asked for their opinions about a subject or person
    可以理解为对所有人进行询问,得到的回复就是 poll 的结果
    typesafe
    typesafe
    Apr 13, 2021❤️2
    6
    维基百科上有词条专门解释了这个。我抽取 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
    superrichman
    Apr 13, 2021 via iPhone❤️3
    7
    bluekylin360
    bluekylin360
    Apr 13, 2021
    8
    言简意骇翻译成中文表达应该如何写呢?
    MintZX
    MintZX
    Apr 14, 2021 via iPhone
    9
    @bluekylin360 探询
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4392 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 55ms · UTC 01:09 · PVG 09:09 · LAX 17:09 · JFK 20:09
    ♥ Do have faith in what you're doing.