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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 5.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for processing contents of a high performance message queue, comprising: receiving an indication that contents of a post message queue and a sent message queue should be processed by a user interface thread; atomically determining whether a thread other than said user interface thread is currently processing said post message queue or said sent message queue; in response to determining that no other thread is processing said post or sent message queues, indicating that said user interface thread is processing said post and sent message queues, atomically processing said sent message q
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (5 of 5 total)
References Cited — Backward Prior Art (16)
Non-Patent Literature (5)
- Buzzard et al., "Hamlyn: a High Performance Network Interface with Sender-Based Memory Management", Hewlett-Packard Company, Jul. 1995, pp. 1-11.
- Calo, S.B., "Delay Analysis of a Two-Queue, Nonuniform Message Channel," IBM Journal of Research and Development 25(6):915-929, Nov. 1981.
- Cownie, J., et al., "A Standard Interface for Debugger Access to Message Queue Information in MPI," Proceedings of the Conference for the Recent Advances in Parallel Virtual Machine and Message Passing Interface, 6th European PVM/MPI Users' Group Meeting, Barcelona, Spain, Sep. 26-29, 1999, pp. 51-5
- Horrell, S., "Microsoft Message Queue (MSMQ)," Enterprise Middleware, Jul. 1999, pp. 20-31.
- Michael, M.M., and M.L. Scott, "Simple, Fast, and Practical Non-Blocking Concurrent Queue Algorithms," Proceedings of the Fifteenth Annual ACM Symposium on Principles of Distributed Computing, Philadelphia, May 23-26, 1996, pp. 267-275.