Invention Grant
- Patent Title: Applying timed operations to non-timed functions
- Patent Title (中): 将定时操作应用于非定时功能
-
Application No.: US13595719Application Date: 2012-08-27
-
Publication No.: US08799924B2Publication Date: 2014-08-05
- Inventor: Zhong P. Wang , Matthew J. Ward
- Applicant: Zhong P. Wang , Matthew J. Ward
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Kunzler Law Group
- Main IPC: G06F9/46
- IPC: G06F9/46 ; G06F9/54 ; G06F9/48

Abstract:
For applying timed operations to non-timed functions, a computer causes the computer to discover, by parsing source code, a caller calling a function. The function does not perform timed operations. The computer further encapsulates the function in a timed method adapter and calls the timed method adapter in place of the function from the caller, passing the timed method adapter an object and an argument for the function. The computer further calls an invoke thread from the set invoker and returns from the set invoker to the timed method adapter. The computer waits for an execution result from the function at the timed method adapter, monitoring for an expiration of a timeout, and invokes the function from the invoke thread, passing the function the object and the argument.
Public/Granted literature
- US20120324478A1 Applying Timed Operations to Non-Timed Functions Public/Granted day:2012-12-20
Information query