Method of communicating asynchronous elements from a mini-port driver
    1.
    发明授权
    Method of communicating asynchronous elements from a mini-port driver 失效
    从微型端口驱动程序通信异步元件的方法

    公开(公告)号:US06378004B1

    公开(公告)日:2002-04-23

    申请号:US09074110

    申请日:1998-05-07

    IPC分类号: G06F954

    CPC分类号: G06F13/102

    摘要: A computer system in accordance with the present invention provides a method of communicating asynchronous events from a mini-port driver of a computer system to a software component without polling the mini-port driver. The computer system provides a monolithic driver as a dispatch between a mini-port driver and a software component. Until an asynchronous event is detected, an event thread in the monolithic driver to a software component is blocked. When an asynchronous event is detected by the mini-port driver, the mini-port driver calls the monolithic driver with a monolithic driver entry point which queues the event and unblocks the event thread. The monolithic driver provides the asynchronous event to the software component through the unblocked event thread. The event thread is then re-blocked and remains blocked until another asynchronous event is detected. Asynchronous events are thereby communicated from a mini-port driver to a software component without polling the mini-port driver.

    摘要翻译: 根据本发明的计算机系统提供了将异步事件从计算机系统的小型端口驱动器传送到软件组件而不轮询小型端口驱动器的方法。 计算机系统提供单片驱动程序作为微型端口驱动程序和软件组件之间的调度。 在检测到异步事件之前,单个驱动程序中的软件组件的事件线程被阻止。 当微型端口驱动程序检测到异步事件时,微型端口驱动程序使用单片驱动程序入口点调用单片驱动程序,该入口点对事件进行排队并解除阻塞事件线程。 单片驱动程序通过未阻塞的事件线程向软件组件提供异步事件。 事件线程然后被重新阻塞,并保持阻塞,直到检测到另一个异步事件。 因此,异步事件从微型端口驱动器传递到软件组件,而不轮询小型端口驱动程序。