发明名称 Mechanism for passing information between queuing and de-queuing processes
摘要 The invention improves communications between a queuing process and a dequeuing process. Elements are linked and unlinked from the queue using a special locking instruction that guarantees serialized operations. The queue structure includes a synchronization field that is used to pass information between the queuing process and the dequeuing process and which is also used by the locking instruction to guarantee serialized operation. The dequeuing process writes information into the synchronization field for the queuing process. The queuing process reads and acts on the information in the synchronization field. In the preferred embodiment, the information passed between the queuing and dequeuing processes allows the processes to control the initiation and termination of dequeuing processes. When the dequeuing process removes an element from the queue, it sets the synchronization field to a first or second state, depending on whether the queue is empty or not empty, respectively. If the queue is empty, the dequeuing process also terminates itself. When the queuing process next links an element into the queue, if the synchronization field is set to the first state, the queuing process initiates a new dequeuing process.
申请公布号 US6636883(B1) 申请公布日期 2003.10.21
申请号 US19990255247 申请日期 1999.02.22
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 ZEBROWSKI, JR. EDWARD
分类号 G06F9/00;G06F9/30;G06F9/312;G06F9/46;(IPC1-7):G06F9/00 主分类号 G06F9/00
代理机构 代理人
主权项
地址