为什么同房后小腹疼痛| 唯美什么意思| 法令纹是什么| 木林森是什么品牌| 脖子下面的骨头叫什么| 三个水读什么| 小便分叉是什么原因男| 换肾是什么病| 风热感冒吃什么药效果好| 流涎是什么意思| 一什么城市| 甘露醇是治什么的| 血稠是什么原因造成的| 迎风流泪是什么原因| 凯子和马子是什么意思| 嗨体是什么| 梦到孩子死了是什么征兆| shiraz是什么名字红酒| 肝阴虚吃什么中成药| 水宝宝是什么| chloe什么牌子| 六月初六什么日子| 六月份适合种什么菜| 左耳烫代表什么预兆| 处女座女和什么星座最配| 老是叹气是什么原因| 经期不能吃什么水果| 肺气肿什么症状| 句号代表什么意思| 什么时候怀孕几率高| 小孩为什么会得手足口病| 同学群取什么名字好| 琋字五行属什么| 冬至为什么烧纸| 九门提督相当于现在什么官| 钠是什么意思| 为什么男人| 雌二醇是什么| 猫摇尾巴是什么意思| 八字指的是什么| d代表什么| 五点是什么时辰| 女人梦见桃子预示什么| 4月19号是什么星座| 绿豆和什么食物相克| 北极熊的毛是什么颜色| 做面条用什么面粉| 什么是援交| 吃什么能降血糖| 变蛋吃多了有什么危害| 低血糖吃什么| 脱线是什么意思| 处女膜破了什么症状| 今天吃什么随机| 切脉切的是什么脉| 28周检查什么项目| 经血是什么血| 永垂不朽是什么意思| 小腿发凉是什么原因造成的| 何弃疗是什么意思| 三个白念什么| 37岁属什么的生肖| 勾心斗角是什么意思| 女性胆固醇高吃什么好| 什么车子寸步难行脑筋急转弯| 荨麻疹是什么样的| 喝醉酒是什么感觉| 什么是中元节| 马齿苋有什么作用| 七岁属什么生肖| 埋线是什么| 蛐蛐吃什么食物| 甲氨蝶呤是什么药| eva鞋底是什么材质| 支气管炎吃什么好| 李白和杜甫并称什么| nmol是什么单位| 死鱼是什么意思| 灵犀是什么意思| 黑枸杞泡茶是什么颜色| 牛黄清心丸治什么病| 手麻是什么病的预兆| 腿困是什么原因引起的| 孤寡老人国家有什么政策| 84年属什么生肖| 小孩小腿疼是什么原因引起的| 为什么一到晚上就咳嗽| 治骨质疏松打什么针| 儿保科主要是检查什么| 绮罗是什么意思| 连奕名为什么娶杨若兮| 蜻蜓点水是什么行为| 积福是什么意思| 男性前列腺炎吃什么药| 享受低保需要什么条件| 手发抖是什么原因引起的| 处女座幸运颜色是什么| 元旦送什么礼物好| 打封闭是什么意思| skll什么牌子| Valentino什么牌子| 现在领结婚证需要什么| 钙化灶是什么意思| 全身发烫但不发烧是什么原因| 为什么明明很困就是睡不着| 女人梦见猫是什么预兆| 拨备覆盖率是什么意思| oversize是什么意思| 三情六欲是什么意思| 腿老是抽筋是什么原因| 下午一点半是什么时辰| 1878年属什么生肖| 欲盖弥彰是什么意思| 黄山四绝指的是什么| 塔罗牌正位和逆位是什么意思| 爬山虎是什么茎| 京剧脸谱黑色代表什么| 是故是什么意思| 紫烟是什么意思| 管教有方是什么意思| 醉氧是什么意思| 来龙去脉是什么生肖| 都有什么菜好吃| 男人喜欢什么样的女人| 低氧血症是什么意思| 预计是什么意思| 梦见别人笑什么意思| 日后好相见的前一句是什么| 归脾丸的功效与作用治什么病| 科甲是什么意思| 什么叫肺间质病变| 节育环要什么时候取才是最佳时期| 呀啦嗦是什么意思| 皮上长小肉疙瘩是什么| macd是什么意思| 麻长什么样子图片| 骨髓增生活跃是什么意思| plv是什么意思| style什么意思| 什么冠禽兽| 冠心病喝什么茶最好| 什么晚霜比较好用| 12月9号是什么星座| 艾字五行属什么| 衣服五行属什么| 301医院院长什么级别| 无的放矢是什么意思| 大拇指指甲凹陷是什么原因| 世界七大奇迹分别是什么| 三黄鸡是什么鸡| 丑未戌三刑 会发生什么| 健脾胃吃什么| 什么是水肿| 九层塔是什么菜| 路上行人匆匆过是什么歌| 想改名字需要什么手续| 有时头晕是什么原因| 什么是尿毒症| 克是什么意思| 6s是什么| camel什么意思| 玛丽苏是什么意思| 佳人是什么生肖| 肾积水吃什么药| 乔迁对联什么时候贴| ghost是什么意思| 食道好像有东西堵着是什么原因| 什么情况下做心脏造影| 为什么青霉素要做皮试| 文房四宝指什么| 什么眼睛| 过期的钙片有什么用途| 4月27号是什么星座| 白领是什么意思| 什么是葡萄糖| 什么都不放的冬瓜清汤| 女流之辈是什么意思| 知性是什么类型的女人| 腿容易麻是什么原因| 肾挂什么科室| 什么样的人容易得抑郁症| 吃什么补血补气最快| 什么察秋毫| 健康证需要检查什么项目| 用盐洗头发有什么好处| 中央民族大学什么档次| 甲功六项检查什么| 外交是什么意思| 小儿厌食吃什么药最好| 梦见打麻将是什么意思| 凤梨跟菠萝有什么区别| 温州有什么好玩的| 枕头太低了有什么危害| 身体寒湿重吃什么好| 下巴疼是什么原因| 西洋参可以和什么一起泡水喝| 用什么洗头白发能变黑| 什么鱼吃鱼屎| 孟字五行属什么| 小孩呕吐是什么原因引起的| 京东白条什么时候还款| 过敏性紫癜吃什么药| 芥蒂是什么意思| 美国全称是什么| 养兰花用什么土最好| 陕西八大怪是什么| 寓言故事有什么| 外痔疮有什么症状| 肺气肿是什么| 痰湿吃什么食物| 尿酸偏低是什么原因| 阑尾有什么用| 曲安奈德是什么药| preparing是什么意思| ido是什么意思| 梦见别人开车翻车是什么预兆| 多囊是什么病| 为什么会感染幽门螺杆菌| npv是什么意思| 逸事是什么意思| 儿童咽峡炎吃什么药| waist是什么意思| 咽喉炎吃什么好| 胃痛吃什么药最有效| 同比什么意思| 拐子是什么鱼| dsa检查是什么意思| 心率失常是什么意思| 窦骁的父母是干什么的| 尿道口流白色液体是什么病| gn什么意思| 评头论足什么意思| 网球肘用什么药| 为什么会真菌感染| 下午18点是什么时辰| 金字旁的字有什么| 处女膜是什么样的| 咳嗽白痰吃什么药| 痛经什么原因引起的| 苦丁茶有什么作用和功效| 多多包涵是什么意思| 四季豆不能和什么一起吃| 小儿抽搐是什么原因引起的| 海鲜都有什么| 21三体综合征是指什么| 医院为什么禁止小孩灌肠| 珊瑚是什么| 男士内裤什么材质的好| 黑加仑是什么水果| 男人都是大猪蹄子是什么意思| 宝宝什么时候开始说话| 豆包什么意思| 瓜皮是什么意思| 天生丽质是什么生肖| 吃什么补黄体酮| 店里来猫是什么兆头| 什么叫hp感染| 秀才相当于现在的什么学历| 薄荷绿是什么颜色| 阴虚血热什么症状| 毫发无损是什么意思| 洗澡有什么好处| 门槛是什么意思| sku图是什么意思| 百度Jump to content

学霸版自贸区“三班”开课!校长钦点这7名入学……

From Wikipedia, the free encyclopedia
百度 ,是商品交易中最为活跃,最为公正、公平、公开的一种商业形式,这种商品交易形式在我国魏晋(公元220年)时期已经产生,隋唐(公元581年)时期,更名为“拍卖”,唐玄宗二十五年“通典”记载,典当品三年不赎者即可拍卖。

Polling, or interrogation, 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. A good example of hardware implementation is a watchdog timer.

Description

[edit]

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. For example, when a printer is connected via a parallel port, the computer waits until the printer has received the next character. These processes can be as minute as only reading one bit. This is sometimes used synonymously with 'busy-wait' polling. In this situation, when an I/O operation is required, the computer does nothing other than check the status of the I/O device until it is ready, at which point the device is accessed. In other words, the computer waits until the device is ready. Polling also refers to the situation where a device is repeatedly checked for readiness, and if it is not, the computer returns to a different task. Although not as wasteful of CPU cycles as busy waiting, this is generally not as efficient as the alternative to polling, interrupt-driven I/O.

In a simple single-purpose system, even busy-wait is perfectly appropriate if no action is possible until the I/O access, but more often than not this was traditionally a consequence of simple hardware or non-multitasking operating systems.

Polling is often intimately involved with very low-level hardware. For example, polling a parallel printer port to check whether it is ready for another character involves examining as little as one bit of a byte. That bit represents, at the time of reading, whether a single wire in the printer cable is at low or high voltage. The I/O instruction that reads this byte directly transfers the voltage state of eight real world wires to the eight circuits (flip flops) that make up one byte of a CPU register.

Polling has the disadvantage that if there are too many devices to check, the time required to poll them can exceed the time available to service the I/O device.

Algorithm

[edit]

Polling can be described in the following steps:

Host actions:

  1. The host repeatedly reads the busy bit of the controller until it becomes clear (with a value of 0).
  2. When clear, the host writes the command into the command register. If the host is sending output, it sets the write bit and writes a byte into the data-out register. If the host is receiving input, it reads the controller-written data from the data-in register, and sets the read bit to 0 as the next command.
  3. The host sets the command-ready bit to 1.

Controller actions:

  1. When the controller notices that the command-ready bit is set, it sets the busy bit to 1.
  2. The controller reads the command register. If the write bit inside is set, it reads from the data-out register and performs the necessary I/O operations on the device. If the read bit is set, data from the device is loaded into the data-in register for the host to read.
  3. Once the operations are over, the controller clears the command-ready bit, clears the error bit to show the operation was successful, and clears the busy bit.

Types

[edit]

A polling cycle is the time in which each element is monitored once. The optimal polling cycle will vary according to several factors, including the desired speed of response and the overhead (e.g., processor time and bandwidth) of the polling.

In roll call polling, the polling device or process queries each element on a list in a fixed sequence. Because it waits for a response from each element, a timing mechanism is necessary to prevent lock-ups caused by non-responding elements. Roll call polling can be inefficient if the overhead for the polling messages is high, there are numerous elements to be polled in each polling cycle and only a few elements are active.

In hub polling, also referred to as token polling, each element polls the next element in some fixed sequence. This continues until the first element is reached, at which time the polling cycle starts all over again.

Polling can be employed in various computing contexts in order to control the execution or transmission sequence of the elements involved. For example, in multitasking operating systems, polling can be used to allocate processor time and other resources to the various competing processes.

In networks, polling is used to determine which nodes want to access the network. It is also used by routing protocols to retrieve routing information, as is the case with EGP (exterior gateway protocol).

An alternative to polling is the use of interrupts, which are signals generated by devices or processes to indicate that they need attention, want to communicate, etc. Although polling can be very simple, in many situations (e.g., multitasking operating systems) it is more efficient to use interrupts because it can reduce processor usage and/or bandwidth consumption.

Poll message

[edit]

A poll message is a control-acknowledgment message.

In a multidrop line arrangement (a central computer and different terminals in which the terminals share a single communication line to and from the computer), the system uses a master/slave polling arrangement whereby the central computer sends message (called polling message) to a specific terminal on the outgoing line. All terminals listen to the outgoing line, but only the terminal that is polled replies by sending any information that it has ready for transmission on the incoming line.[1]

In star networks, which, in its simplest form, consists of one central switch, hub, or computer that acts as a conduit to transmit messages, polling is not required to avoid chaos on the lines, but it is often used to allow the master to acquire input in an orderly fashion. These poll messages differ from those of the multidrop lines case because there are no site addresses needed, and each terminal only receives those polls that are directed to it.[1]

See also

[edit]

References

[edit]
  1. ^ a b "Multi-Drop Polling". RAD Data Communications/Pulse Supply. 2007. Archived from the original on 2025-08-05. Retrieved 2025-08-05.
fourone是什么牌子 幅度是什么意思 奶霜是什么 喝竹叶水有什么好处 频发房性早搏是什么意思
婴儿什么时候可以吃盐 又拉肚子又呕吐是什么原因 见多识广是什么生肖 dbm是什么单位 呼吸不畅是什么原因
少叙痣是什么意思 什么牌子的电动车好 睡着了流口水是什么原因 早射吃什么药 吃什么食物可以补充雌激素
肺肿瘤有什么症状 什么可以消肿快的方法 为什么坐月子不能吹风 花心什么意思 欲仙欲死是什么意思
为什么会得尿道炎hcv8jop7ns8r.cn 什么是氨基酸hcv9jop2ns7r.cn 三月阳春好风光是什么生肖hcv8jop1ns5r.cn 钟字五行属什么hcv7jop7ns0r.cn 外阴白斑是什么症状hcv9jop3ns4r.cn
患难见真情是什么意思hcv8jop4ns8r.cn 有缘无分什么意思hcv8jop6ns5r.cn 啾啾是什么意思hcv8jop4ns4r.cn 21速和24速有什么区别weuuu.com 每天坚持做俯卧撑有什么好处hcv8jop3ns7r.cn
男性肾虚有什么症状hcv7jop6ns8r.cn 2012年是什么命hcv8jop4ns4r.cn 动物的耳朵有什么作用hcv9jop1ns5r.cn tc版是什么意思dayuxmw.com 亥时是什么时候hcv9jop6ns1r.cn
虎皮鹦鹉吃什么hcv9jop0ns0r.cn 8月8是什么星座cj623037.com 大肠在人体什么位置图hcv9jop0ns5r.cn 屁股出血是什么原因hcv8jop7ns6r.cn 7.8什么星座hcv9jop2ns3r.cn
百度