发明名称 Data structure for efficient enqueuing and dequeuing
摘要 A data structure for efficient enqueuing and dequeuing is disclosed. The structure includes a horizontally linked list, an array, a vertically linked list, and a head pointer. Entity ranks are distributed over the array, where each array entry has a range of ranks. Each array entry points to null or the entity having the greatest rank within that entry's range. The horizontally linked list links at least a subset of ranked entities. Each entity in the linked list has a unique rank as compared to the ranks of the other entities in the list. Each vertically linked list links a subset of entities having an identical rank. The head pointer points to the entity that has the greatest rank. Methods for adding entities to and removing entities from the data structure are also disclosed. The invention can be used to enqueue threads to and dequeue threads from a priority queue.
申请公布号 US7310649(B1) 申请公布日期 2007.12.18
申请号 US20000676552 申请日期 2000.09.30
申请人 MICROSOFT CORPORATION 发明人 GINSBERG MICHAEL
分类号 G06F7/00;G06F9/44 主分类号 G06F7/00
代理机构 代理人
主权项
地址