Ensuring thread affinity for interprocess communication in a managed code environment
Abstract
A remote procedure call channel for interprocess communication in a managed code environment ensures thread-affinity on both sides of an interprocess communication. Using the channel, calls from a first process to a second process are guaranteed to run on a same thread in a target process. Furthermore, calls from the second process back to the first process will also always execute on the same thread. An interprocess communication manager that allows thread affinity and reentrancy is able to correctly keep track of the logical thread of execution so calls are not blocked in unmanaged hosts. Furthermore, both unmanaged and managed hosts are able to make use of transparent remote call functionality provided by an interprocess communication manager for the managed code environment.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 20 · Forward citations: 1.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A computer-implemented method for enabling interprocess communications and thread affinity, the computer-implemented method comprising: receiving by a first object executing on a first process in a managed code computing environment, via an interprocess communication mechanism executing on a thread of the first process, an interprocess message from a second object executing on a second process external to a process boundary of said first process, wherein the first process is associated with a channel and the second process is associated with the channel, wherein the channel enables thread reen
- Claim 2Depends on #1
The method of claim 1 , further comprising exposing said in
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 10,102,048 B2 | Ensuring thread affinity for interprocess communication in a managed code environment | 2018 | 0 |
References Cited — Backward Prior Art (20)
Non-Patent Literature (5)
- Barnett, ".NET Remoting Authentication and Authorization Sample Part II", www.msdn.microsoft.com-en-us-library-ms973909(printer).aspx, accessed Jan. 2004.
- Chang et al., "MRPC: A high performance RPC system for MPMD parallel computing", Software-Practice & Experience, Jan. 1999, 29(1), 1-18.
- Johnson, Chris D. et al., "Concurrency Utilities for Java EE", Early Draft Preview, Apr. 4, 2006, online at: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.367.8399&rep=rep1&type=pdf, 63 pgs.
- Liang, "Understanding the COM Single-Threaded Apartment Part 1", www.codeproject.com-KB-COM-CCOMThread.aspx, accessed Jan. 6, 2005.
- Shah et al., "Design and implementation of efficient communication abstractions on the virtual interface architecture: stream sockets and RPC experience", Software: Practice and Experience, Jun. 8, 2001, 31(11), 1043-1065.