Invention Grant
- Patent Title: Application code callbacks at regular intervals
-
Application No.: US16206710Application Date: 2018-11-30
-
Publication No.: US10776161B2Publication Date: 2020-09-15
- Inventor: Christian Wimmer , Peter Hofer
- Applicant: Oracle International Corporation
- Applicant Address: US CA Redwood Shores
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood Shores
- Agency: Ferguson Braswell Fraser Kubasta PC
- Main IPC: G06F9/48
- IPC: G06F9/48 ; G06F9/50 ; G06F9/54 ; G06F9/52

Abstract:
A method may include obtaining, for a thread executing application code, a recurring task, a recurring interval, a previous callback time, a starting counter value, and a counter trigger, initializing a current counter value to the starting counter value, and performing checks in response to adjustments to the current counter value. Each check may determine whether the respective adjusted current counter value satisfies the counter trigger. The method may further include in response to a check determining that the adjusted current counter value satisfies the counter trigger, invoking a callback handler with a callback that performs the recurring task, and in response to an elapsed time exceeding the recurring interval, executing, by the callback handler, the callback. The elapsed time may be an amount of time elapsed between the previous callback time and the first invocation. The method may further include modifying the starting counter value using the elapsed time.
Public/Granted literature
- US20200174826A1 APPLICATION CODE CALLBACKS AT REGULAR INTERVALS Public/Granted day:2020-06-04
Information query