Object-oriented operating system

an operating system and object technology, applied in the field of object-oriented computing environments, can solve the problems of linguistic approach wreak havoc, program and window flexibility loses almost all their flexibility, and services provided by the operating system cannot be accessed

Inactive Publication Date: 2008-10-09
APPLE INC
View PDF99 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Consider a software windowing example: if every detail of every window that appears on a user's screen in a graphical user interface (GUI)-based program had to have all of its state and behavior hard-coded into a program, then both the program and the windows it contains would lose almost all of their flexibility.
One potential drawback to an object-oriented environment lies in the proliferation of objects that must exhibit behavior which is similar and which one would like to use as a single message name to describe.
In conventional, procedure-oriented languages, such a linguistic approach would wreak havoc.
Consequently, the services provided by these operating systems can only be accessed by using the procedures defined by their respective procedural interfaces.
Consequently, some of the modularity, maintainability, and reusability advantages associated with object-oriented programs are lost since it is not possible to utilize classes, objects, and other OOT features to their fullest extent possible.
While this ultimately may be the best solution, it currently is not a practical solution since the resources required to modify all of the major, procedural operating systems would be enormous.
Also, such a modification of these procedural operating systems would render useless thousands of procedure-oriented software programs.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Object-oriented operating system
  • Object-oriented operating system
  • Object-oriented operating system

Examples

Experimental program
Comparison scheme
Effect test

code example 1

[0219]

void TThreadHandle::Kill( ){ kern_return_t error; if((error = thread_terminate(fThreadControlPort)) != KERN_SUCCESS)   THROW(TKernelException( ));   / / Error indicator}

code example 2

Where:

[0220]fThreadControlPort is an instance variable of the TThreadHandle class that contains the Mach thread control port for the thread the class represents.

[0221]TKernelException is the C++ exception class that is thrown when a kernel routine gets an error.

[0222]THROW, TRY, CATCH, and ENDTRY are part of the C++ language that allow you to throw and catch C++ exceptions.

The implementation of the suspend( ) method from the TTaskHandle class of the task classes 406 is shown in Code Example 4, below. A routine called “example2” is shown in Code Example 3, below. The “example2” routine includes a decomposition statement which causes the suspend( ) method to be executed.

void example2(TTaskHandle& aTask){  TRY  {    aTask.Suspend( );   / / suspend all threads on task aTask  }  CATCH(TKernelException)  (    printf(”Couldn't suspend threads\n”);   / / error occured  }  ENDTRY;   / / ...}

code example 3

[0223]

void TTaskHandle::Suspend( ){  kern_return_t error;  if((error = task_suspend(fTaskControlPort)) != KERN_SUCCESS)    THROW(TKernelException( ));    / / Error indicator}

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

An apparatus for enabling an object-oriented application to access in an object-oriented manner a procedural operating system having a native procedural interface is disclosed. The apparatus includes a computer and a memory component in the computer. A code library is stored in the memory component. The code library includes computer program logic implementing an object-oriented class library. The object-oriented class library comprises related object-oriented classes for enabling the application to access in an object-oriented manner services provided by the operating system. The object-oriented classes include methods for accessing the operating system services using procedural function calls compatible with the native procedural interface of the operating system. The computer processes object-oriented statements contained in the application and defined by the class library by executing methods from the class library corresponding to the object-oriented statements.

Description

RELATED APPLICATIONS[0001]This application is a continuation of, and hereby claims priority under 35 U.S.C. § 120 to, co-pending U.S. patent application Ser. No. 10 / 648,471, filed on 27 Aug. 2003, entitled “Object-Oriented Operating System,” by inventors Debra Lyn Orton et al.[0002]This application also claims priority under 35 U.S.C. § 120 to U.S. patent application Ser. No. 08 / 521,085, filed 29 Aug. 1995 (now U.S. Pat. No. 6,684,261), of which application Ser. No. 10 / 648,471 is a continuation.[0003]This application further claims priority under 35 U.S.C. § 120 to U.S. patent application Ser. No. 08 / 315,212, filed 28 Sep. 1994 (now U.S. Pat. No. 5,475,845), of which application Ser. No. 08 / 521,085 is a continuation.[0004]This application further claims priority under 35 U.S.C. § 120 to U.S. patent application Ser. No. 08 / 094,675, filed 19 Jul. 1993 (now U.S. Pat. No. 5,379,432), of which application Ser. No. 08 / 315,212 is a continuation.[0005]This application is related to applicat...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(United States)
IPC IPC(8): G06F9/00G06F9/40G06F9/06G06F9/44G06F9/445G06F9/45G06F9/455G06F9/46
CPCG06F8/70G06F9/4425G06F9/45537G06F9/541G06F9/4484
Inventor ORTON, DEBRA LYNBOLTON, EUGENIE LEECHERNIKOFF, DANIEL F.GOLDSMITH, DAVID BROOKMOELLER, CHRISTOPHER P.
Owner APPLE INC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products