发明名称 Guarantee real time processing of soft real-time operating system by instructing core to enter a waiting period prior to transferring a high priority task
摘要 A method to guarantee real time processing of a soft real time operating system in a multicore platform by executing a thread while varying a core in which the thread is executed and apparatus are provided. The method includes assigning priority to a task thread, executing the task thread, determining a core in which the task thread is to be executed, and if the core is determined, transferring the task thread to the determined core.
申请公布号 US9229765(B2) 申请公布日期 2016.01.05
申请号 US201213712198 申请日期 2012.12.12
申请人 Samsung Electronics Co., Ltd. 发明人 Lee Hee Kuk;Kim Yoon Soo
分类号 G06F9/46;G06F9/48 主分类号 G06F9/46
代理机构 Harness, Dickey & Pierce, P.L.C. 代理人 Harness, Dickey & Pierce, P.L.C.
主权项 1. A method to guarantee real time processing of a soft real time operating system in a multicore platform, the method comprising: assigning, by a first core, a highest priority to a first task thread, wherein the first task thread is a real time task thread configured to be executed periodically at each of a plurality of periods; executing, by the first core, the first task thread during a first period of the plurality of periods; determining, by the first core, a second core in which the first task thread is to be executed during a second period of the plurality of periods; instructing, by the first core, the second core to enter a waiting period prior to transferring the first task thread thereto, wherein entering the waiting period includes spinning or a combination of spinning and sleeping by the second core until the second period occurs; stopping execution, by the second core, of a second task thread executing on the second core in response to the first core instructing the second core to enter the waiting period and the second core subsequently entering the waiting period; transferring the first task thread to the second core while the second core is in the waiting period; and executing, by the second core, the first task thread when the second period occurs after the first task thread is transferred thereto.
地址 Gyeonggi-do KR