Patent · US Expired

Method and system for protecting shared code and data in a multitasking operating system

US6148325A · kind A · utility

15Cited by
4References
13Claims
0Family size

Assignee

Inventors

Key dates

Filing dateJun 30, 1994
Grant dateNov 14, 2000
Priority date
Expiry dateJun 30, 2014

Classification

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

Abstract

A method and system for protecting shared code and data, in particular, shared system code and data, in a multitasking operating system are provided. The operating system includes a cooperative subsystem and a preemptive subsystem. The cooperative subsystem includes shared system code and data. The method and system include a synchronization mechanism for controlling access to the shared system code and data by threads. Ownership of the synchronization mechanism must be requested and obtained before a cooperatively scheduled thread can execute in the cooperative subsystem. Additionally, ownership of the synchronization mechanism must be requested and obtained before a preemptively scheduled thread can execute the shared system code in the cooperative subsystem. If the synchronization mechanism is already owned, the requesting thread is blocked until ownership is released. Otherwise, the requesting thread is granted ownership. Since no other thread can obtain ownership of the synchronization mechanism while one thread owns the synchronization mechanism, the shared system code and data in the cooperative subsystem is protected.

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