-
公开(公告)号:US08607248B2
公开(公告)日:2013-12-10
申请号:US13656153
申请日:2012-10-19
Applicant: Apple Inc.
Inventor: David Alexander Zarzycki , Curtis Rothert , Ali T. Ozer , Mark Andrew Piccirelli
CPC classification number: G06F9/485
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.
Abstract translation: 本文描述了用于终止数据处理系统的应用的有效机制。 在一个实施例中,响应于从数据处理系统的操作环境退出的请求,操作系统检查与在操作环境中运行的应用相关联的操作状态,其中操作状态被存储在共享的预定存储器位置 在操作系统和应用程序之间。 如果与应用程序相关联的操作状态指示应用程序对于突然终止是安全的,则操作系统立即终止应用程序。 否则,如果与应用程序相关联的操作状态指示应用程序对于突然终止不安全,则操作系统会延迟终止应用程序。
-
公开(公告)号:US20130047167A1
公开(公告)日:2013-02-21
申请号:US13656153
申请日:2012-10-19
Applicant: Apple Inc.
Inventor: David Alexander Zarzycki , Curtis Rothert , Ali T. Ozer , Mark Andrew Piccirelli
CPC classification number: G06F9/485
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.
-