发明名称 Method and apparatus for providing and integrating high-performance message queues in a user interface environment
摘要 A method and apparatus is provided for providing and integrating high-performance message queues. "Contexts" are provided that allow independent worlds to be created and execute in parallel. A context is created with one or more threads. Each object is created with context affinity, allowing any thread inside the context to modify the object or process pending messages. Threads in a different context are unable to modify the object or process pending messages for that context. To help achieve scalability and context affinity, both global and thread-local data is often moved into the context. Remaining global data has independent locks, providing synchronized access for multiple contexts. Each context has multiple message queues to create a priority queue. There are default queues for sent messages and posted messages, carry-overs from legacy window managers, with the ability to add new queues on demand. A queue bridge is also provided for actually processing the messages.
申请公布号 US7631316(B2) 申请公布日期 2009.12.08
申请号 US20050138165 申请日期 2005.05.26
申请人 MICROSOFT CORPORATION 发明人 STALL JEFFREY E
分类号 G06F3/00;G06F9/44;G06F9/46;G06F13/00 主分类号 G06F3/00
代理机构 代理人
主权项
地址