-
公开(公告)号:US09077764B2
公开(公告)日:2015-07-07
申请号:US13857790
申请日:2013-04-05
Applicant: Apple Inc.
Inventor: David Alexander Zarzycki
IPC: G06F15/16 , G06F9/00 , G06F9/24 , G06F15/177 , H04L29/08
CPC classification number: H04L67/2804 , H04L67/16 , H04L67/2823 , H04L67/2828
Abstract: Methods and apparatuses for proxying communication requests to services hosted on a data processing system. In one exemplary method, an open-ended configuration file is distilled to create an object tree from the configuration file. In addition, distillation creates communication handles for the services. The object tree is serialized and forwarded to a proxy agent. The proxy agent registers the service and monitors the communication handles for service requests by establishing a kernel callback. When a communication handle is readable, the proxy agent passes the communication handle to appropriate service.
Abstract translation: 代理对数据处理系统上托管的服务的通信请求的方法和装置。 在一个示例性方法中,蒸馏了开放式配置文件以从配置文件创建对象树。 此外,蒸馏创建服务的通讯手柄。 对象树被序列化并转发给代理代理。 代理代理注册服务并通过建立内核回调来监视服务请求的通信句柄。 当通信句柄可读时,代理代理将通信句柄传递给适当的服务。
-
公开(公告)号: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.
-
-