Patent · US Active

Lock free use of non-preemptive system resource

US8966496B2 · kind B2 · utility

0Cited by
6References
19Claims
0Family size

Assignee

Inventors

Key dates

Filing dateDec 8, 2011
Grant dateFeb 24, 2015
Priority date
Expiry dateDec 26, 2032

Classification

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

Abstract

A computer-implemented method for lock-free use of a non-preemptive system resource by a preemptive thread, which may be interrupted. The method comprises registering a non-preemptive system resource and a first level reclaim handler for the non-preemptive system resource with the kernel of an operating system, registering a second level reclaim handler with the kernel, wherein the second level reclaim handler is included in an application program, and running the application program as a preemptive thread using the non-preemptive system resource. The first level reclaim handler is code that is a part of the implementation of the non-preemptive system resource in the kernel. The second level reclaim handler is code that is part of the application and is registered with the kernel before the application uses the non-preemptive system resource. The method enables a preemptive thread using a non-preemptive system resource to be preempted without crashing.

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