Process and implementation for interrupting locked threads
A thread monitor identifies and interrupts locked threads. A byte code insertion tool inserts timers around classes that are bound to threads. Timers may also be inserted around particular portions of code. When a portion of code, such as a thread, a loop, or a condition block, for example, to be mo...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | A thread monitor identifies and interrupts locked threads. A byte code insertion tool inserts timers around classes that are bound to threads. Timers may also be inserted around particular portions of code. When a portion of code, such as a thread, a loop, or a condition block, for example, to be monitored begins, a call is made to a thread monitor to start a timer. If the portion of code ends normally, the timer is removed. If the timer expires, then the thread monitor may interrupt the thread or send a notification to a user so that appropriate action may be taken. |
---|