Patent · US Expired

Clean thread termination

US6910209B2 · kind B2 · utility

8Cited by
3References
20Claims
0Family size

Assignee

Inventors

Key dates

Filing dateApr 30, 2001
Grant dateJun 21, 2005
Priority date
Expiry dateMar 20, 2023

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F9/4843
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

Apparatus, methods, and computer program products are disclosed for a process of terminating a thread in a clean, certain, and forcible manner. A thread is forcibly terminated in such a manner that data structures in the system are not left in an inconsistent state and the overall system status is not damaged. The methods and systems described are for terminating a thread in a computer language execution environment. Methods are implemented in an interpretive loop executing in a language that is interpreted and in runtime support libraries in a language that are not interpreted. A method of forcibly terminating a thread in a computer language execution environment is described. A thread receives a terminate thread command. The thread has associated with it a termination flag, a value of the termination flag being immutable once set, and one or more monitors. The termination flag is then set for the thread. An exception is then propagated in the execution environment thereby indicating termination of the thread. The exception handler and the finally clause of the thread is ignored during thread termination. The monitors associated with the thread are then exited.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.