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...

Full description

Saved in:
Bibliographic Details
Main Authors WARD MATTHEW J, WANG ZHONG P
Format Patent
LanguageEnglish
Published 05.08.2014
Subjects
Online AccessGet full text

Cover

Loading…
More Information
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