Applying timed operations to non-timed functions
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 a...
Saved in:
Main Authors | , |
---|---|
Format | Patent |
Language | English |
Published |
05.08.2014
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | 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. |
---|---|
Bibliography: | Application Number: US201213595719 |