-
公开(公告)号:US5274823A
公开(公告)日:1993-12-28
申请号:US860829
申请日:1992-03-31
申请人: Larry B. Brenner , Barry P. Lubart , Jeffrey S. Lucash , John C. Rathjen, Jr. , Ronald Sasala , Thomas Van Weaver
发明人: Larry B. Brenner , Barry P. Lubart , Jeffrey S. Lucash , John C. Rathjen, Jr. , Ronald Sasala , Thomas Van Weaver
摘要: A method for serializing access to computer system resources without disabling interrupts in critical code sections or requiring excessive use of spin locks. A queue lock is introduced that allows an interrupt process to enqueue and be processed in turn without a spin lock and to block process code access to a particular resource until all interrupts are processed. Process level code is blocked from accessing a locked resource while requests for accesses from interrupt level code are queued in a deferred work queue which is processed prior to the release of the blocking lock. Establishment of deferred work queue means that processing can continue without disablement of interrupts and without significant overhead consumed by processes holding spin locks.