发明名称 |
SYSTEM AND METHOD FOR PROVIDING A WATCHDOG TIMER TO ENABLE COLLECTION OF CRASH DATA |
摘要 |
A system and method for providing a watchdog timer to enable collection of crash data is provided. Upon execution of certain operations, a source thread of an application initiates a watchdog thread that periodically sample state of data relating to the application. Should the operation not complete within a watchdog timeout period, the watchdog thread invokes a crash function to collect additional state data. At least a portion of the state data is stored for later analysis and debugging. |
申请公布号 |
US2016179606(A1) |
申请公布日期 |
2016.06.23 |
申请号 |
US201615056222 |
申请日期 |
2016.02.29 |
申请人 |
Twitter, Inc. |
发明人 |
Perry Ryan;Seibert, JR. Jeffrey Hall;Ma Zhen;Massicotte Matt |
分类号 |
G06F11/07 |
主分类号 |
G06F11/07 |
代理机构 |
|
代理人 |
|
主权项 |
1. A system comprising:
a memory storing an application and a crash data structure; a computer processor executing the application having a source thread and a watchdog thread,
wherein the source thread initiates a predefined operation having an operating system timeout period, andwherein the watchdog thread enables the computer processor to:
determine, prior to completion of the predefined operation and prior to expiration of the operating system timeout period, that a predefined watchdog timeout period is expired, wherein the watchdog timeout period is less than the operation system timeout period;invoke a crash function to collect state information relating to the application in response to determining that the predefined watchdog timeout period is expired; andstore the state information in a crash data structure. |
地址 |
San Francisco CA US |