Invention Grant
US08799924B2 Applying timed operations to non-timed functions 有权
将定时操作应用于非定时功能

Applying timed operations to non-timed functions
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
Information query
Patent Agency Ranking
0/0