Invention Grant
US07716680B2 Method and apparatus for providing and integrating high-performance message queues in a user interface environment 失效
用于在用户界面环境中提供和集成高性能消息队列的方法和装置

  • Patent Title: Method and apparatus for providing and integrating high-performance message queues in a user interface environment
  • Patent Title (中): 用于在用户界面环境中提供和集成高性能消息队列的方法和装置
  • Application No.: US10930124
    Application Date: 2004-08-31
  • Publication No.: US07716680B2
    Publication Date: 2010-05-11
  • Inventor: Jeffrey E Stall
  • Applicant: Jeffrey E Stall
  • Applicant Address: US WA Redmond
  • Assignee: Microsoft Corporation
  • Current Assignee: Microsoft Corporation
  • Current Assignee Address: US WA Redmond
  • Agency: Workman Nydegger
  • Main IPC: G06F3/023
  • IPC: G06F3/023
Method and apparatus for providing and integrating high-performance message queues in a user interface environment
Abstract:
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.
Information query
Patent Agency Ranking
0/0