发明名称 SYSTEM AND METHOD FOR IMPLEMENTING A MULTI-THREADED DEVICE DRIVER IN A COMPUTER SYSTEM
摘要 A method of implementing a multi-threaded device driver for a computer system is disclosed. According to one embodiment, a polling device driver is partitioned into a plurality of driver threads for controlling a device of a computer system. The device has a first device state of an unscouted state and a scouted state, and a second device state of an inactive state and an active state. A driver thread of the plurality of driver threads determines that the first device state of the device state is in the unscouted state, and changes the first state of the device to the scouted state. The driver thread further determines that the second device state of the device is in the inactive state and changes the second device state of the device to the active state. The driver thread executes an operation on the device during a pre-determined time slot configured for the driver thread.
申请公布号 US2016041933(A1) 申请公布日期 2016.02.11
申请号 US201414452473 申请日期 2014.08.05
申请人 Diablo Technologies, Inc. 发明人 Trojanowski Bart;Takefman Michael L.;Amer Maher
分类号 G06F13/362;G06F9/44;G06F9/30;G06F9/50;G06F13/42;G06F13/366 主分类号 G06F13/362
代理机构 代理人
主权项 1. A method of partitioning a polling device driver into a plurality of driver threads for controlling a device of a computer system, the method comprising: checking a first device state of the device, the first device state having an unscouted state and a scouted state; determining that the first device state of the device is in the unscouted state; changing the first state of the device to the scouted state; checking a second device state of the device, the second device state having an inactive state and an active state; determining that the second device state of the device is in the inactive state; changing the second state of the device to the active state; executing an operation on the device during a pre-determined time slot configured for a first driver thread of the plurality of driver threads; and changing the first state of the device to the unscouted state after the pre-determined time slot expires.
地址 Ottawa CA