发明名称 Use of a helper thread to asynchronously compute incoming data
摘要 A set of helper thread binaries is created from a set of main thread binaries. The helper thread monitors software or hardware ports for incoming data events. When the helper thread detects an incoming event, the helper thread asynchronously executes instructions that calculate incoming data needed by the main thread.
申请公布号 US8775778(B2) 申请公布日期 2014.07.08
申请号 US200812024228 申请日期 2008.02.01
申请人 International Business Machines Corporation 发明人 Arimilli Ravi K.;Rubio Juan C.;Sinharoy Balaram
分类号 G06F9/30 主分类号 G06F9/30
代理机构 Yudell Isidore Ng Russell PLLC 代理人 Yudell Isidore Ng Russell PLLC
主权项 1. A method of utilizing a helper thread to perform an asynchronous computation for retrieving data at a port, the method comprising: creating a set of helper thread binaries along with a set of main thread binaries within an application code space by linking object code generated from compiled source code of an application, wherein the set of helper thread binaries includes instructions for polling one or more of software sockets and hardware ports for an incoming data event that indicates that data is now available at a particular port at which the incoming data event is detected; executing the set of helper thread binaries; executing the set of main thread binaries; in response to a helper thread of the set of helper thread binaries detecting an incoming data event at a port during polling of the one or more software sockets and hardware ports, asynchronously executing instructions in the set of helper thread binaries that compute incoming data needed by the set of main thread binaries and retrieve from the port the needed data that will be necessary to continue execution of a main thread represented by the main thread binaries; and providing the needed data to the main thread.
地址 Armonk NY US