METHOD AND SYSTEM FOR SCHEDULING THREADS FOR EXECUTION
    2.
    发明申请
    METHOD AND SYSTEM FOR SCHEDULING THREADS FOR EXECUTION 审中-公开
    用于调度执行螺纹的方法和系统

    公开(公告)号:US20150347192A1

    公开(公告)日:2015-12-03

    申请号:US14290791

    申请日:2014-05-29

    Applicant: Apple Inc.

    CPC classification number: G06F9/5027 G06F9/4881 G06F2209/5021

    Abstract: Techniques for scheduling threads for execution in a data processing system are described herein. According to one embodiment, in response to a request for executing a thread, a scheduler of an operating system of the data processing system accesses a global run queue to identify a global run entry associated with the highest process priority. The global run queue includes multiple global run entries, each corresponding to one of a plurality of process priorities. A group run queue is identified based on the global run entry, where the group run queue includes multiple threads associated with one of the processes. The scheduler dispatches one of the threads that has the highest thread priority amongst the threads in the group run queue to one of the processor cores of the data processing system for execution.

    Abstract translation: 在这里描述了用于调度用于在数据处理系统中执行的线程的技术。 根据一个实施例,响应于执行线程的请求,数据处理系统的操作系统的调度器访问全局运行队列以识别与最高进程优先级相关联的全局运行条目。 全局运行队列包括多个全局运行条目,每个条目对应于多个进程优先级中的一个。 基于全局运行条目识别组运行队列,其中组运行队列包括与其中一个进程相关联的多个线程。 调度程序将组运行队列中的线程中具有最高线程优先级的一个线程调度到数据处理系统的一个处理器核心以执行。

    Execution priority management for inter-process communication

    公开(公告)号:US10671430B2

    公开(公告)日:2020-06-02

    申请号:US15836411

    申请日:2017-12-08

    Applicant: Apple Inc.

    Abstract: Techniques are disclosed relating to inter-process communication. In some embodiments, a kernel receives a notification of a communication to be sent from a first thread of a first application to a second thread of a second application. The kernel provides a reply port to the first thread for receiving a reply to the communication from the second thread. The kernel facilitates sending the communication from the first thread to the second thread. The kernel increases an execution priority of the second thread in response to the kernel determining that the reply port and a destination port associated with the second thread are identified in the communication. In some embodiments, the kernel creates the reply port in response to receiving the notification and, in response to detecting the reply has been communicated to the reply port, decreases the execution priority of the second thread and removes the reply port.

Patent Agency Ranking