EFFICIENT MECHANISM FOR TERMINATING APPLICATIONS
First Claim
1. A machine-implemented method for terminating an application of a data processing system, the method comprising:
- in response to a request for exiting from an operating environment of a data processing system, an operating system examining an operating state associated with an application running within the operating environment, the operating state being stored at a predetermined memory location shared between the operating system and the application;
the operating system immediately terminating the application if the operating state associated with the application indicates that the application is safe for a sudden termination; and
the operating system deferring terminating the application if the operating state associated with the application indicates that the application is unsafe for the sudden termination.
2 Assignments
0 Petitions
Accused Products
Abstract
An efficient mechanism for terminating applications of a data processing system is described herein. In one embodiment, in response to a request for exiting from an operating environment of a data processing system, an operating system examines an operating state associated with an application running within the operating environment, where the operating state is stored at a predetermined memory location shared between the operating system and the application. The operating system immediately terminates the application if the operating state associated with the application indicates that the application is safe for a sudden termination. Otherwise, the operating system defers terminating the application if the operating state associated with the application indicates that the application is unsafe for the sudden termination. Other methods and apparatuses are also described.
-
Citations
20 Claims
-
1. A machine-implemented method for terminating an application of a data processing system, the method comprising:
-
in response to a request for exiting from an operating environment of a data processing system, an operating system examining an operating state associated with an application running within the operating environment, the operating state being stored at a predetermined memory location shared between the operating system and the application; the operating system immediately terminating the application if the operating state associated with the application indicates that the application is safe for a sudden termination; and the operating system deferring terminating the application if the operating state associated with the application indicates that the application is unsafe for the sudden termination. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A machine-readable medium having instructions stored therein, which when executed by a machine, cause the machine to perform a method for terminating an application of a data processing system, the method comprising:
-
in response to a request for exiting from an operating environment of a data processing system, an operating system examining an operating state associated with an application running within the operating environment, the operating state being stored at a predetermined memory location shared between the operating system and the application; the operating system immediately terminating the application if the operating state associated with the application indicates that the application is safe for a sudden termination; and the operating system deferring terminating the application if the operating state associated with the application indicates that the application is unsafe for the sudden termination. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. A data processing system, comprising:
-
a processor; a memory; an operating system running within the memory and executed by the processor, the operating system having an application termination logic; a plurality of applications running within the memory and executed by the processor, the plurality of applications communicatively coupled to the operating system, wherein in response to a request for shutting down or logging out from the data processing system, the application termination logic examines an operating state associated with each of the applications and stored at a predetermined location of the memory shared between the operating system and each application, wherein the application termination logic immediately terminates an application if the operating state associated with the application indicates that the application is safe for a sudden termination, and wherein the application termination logic defers terminating the application if the operating state associated with the application indicates that the application is unsafe for the sudden termination.
-
Specification