发明名称 Ensuring thread affinity for interprocess communication in a managed code environment
摘要 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.
申请公布号 US9323592(B2) 申请公布日期 2016.04.26
申请号 US201012719342 申请日期 2010.03.08
申请人 MICROSOFT TECHNOLOGY LICENSING, LLC 发明人 Davis Jackson M.;Shepard John A.
分类号 G06F3/00;G06F9/44;G06F9/46;G06F13/00;G06F9/54 主分类号 G06F3/00
代理机构 代理人 Drakos Kate;Sullivan Kevin;Minhas Micky
主权项 1. 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 reentrancy; and executing said interprocess message on said thread of said first process, whereby cross-process thread affinity with respect to the interprocess message is achieved.
地址 Redmond WA US