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: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for posting a message via a high-performance message queue, comprising: providing a message queue associated with a context; executing a user interface thread associated with said context; receiving a request from said user interface thread to post a message to a queue associated with a second context; validating parameters associated with said message; determining a processing function that should be notified when said message is dequeued; completing a message entry for said message including said validated parameters and the identity of said processing function; atomically adding sa
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 9,880,860 B2 | Automatic return to synchronization context for asynchronous computations | 2018 | 0 |
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-
- Horrell, S., "Microsoft Message Queue (MSMQ)," Enterprise Middleware, Jul. 1999, pp. 20-31.
- Michael et al, Simple, Fast, and Practical Non-Blocking and Blocking Concurrent Queue Algorithms, ACM, 1996, pp. 267-275.