Method and apparatus for thread-safe handlers for checkpoints and restarts
Abstract
A method, apparatus, and computer instructions for executing a handler in a multi-threaded process handling a number of threads in a manner that avoids deadlocks. A value equal to the number of threads executing in the data processing system is set. The value is decremented each time a lock count for a thread within the number of threads is zero. A thread within the number of threads is suspended if the thread requests a lock and has a lock count of zero. A procedure, such as a handler, is executed in response to all of the threads within the number of threads having no locks.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 19 · Forward citations: 6.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method in a data processing system for handling a number of threads, the method comprising: setting a value equal to the number of threads executing in the data processing system; decrementing the value each time a lock count for a thread within the number of threads is zero; receiving a first request from a first process, wherein the first request is a checkpoint request; sending a selected signal to a second process; responsive to receiving the selected signal in the second process, suspending a thread within the number of threads if the thread requests a lock and has a lock count of zero;
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (6 of 6 total)
References Cited — Backward Prior Art (19)
Non-Patent Literature (3)
- Karablieh et al., "Heterogeneous Checkpointing for Multithreaded Applications", 2002 IEEE, pp. 140-149.
- Kasbeka et al., "Selective checkpointing and rollbacks in Multithreaded Distributed Systems", 2001, IEEE, pp. 39-46.
- Whisnant et al., "Micro-Checkpointing: Checkpointing for Multithread Applications", 20000 IEEE, pp. 1-6.