发明名称 |
Multiple core real-time task execution |
摘要 |
A real-time task may initially be performed by a first thread that is executing on a first core of a multi-core processor. A second thread may be initiated to take over the performance of the real-time task on a second core of the multi-core processor while the first thread is performing the real-time task. The performance of the real-time tasks is then transferred from the first thread to the second thread with the execution of the second thread on the second core to perform the real-time task. |
申请公布号 |
US9542229(B2) |
申请公布日期 |
2017.01.10 |
申请号 |
US201615045371 |
申请日期 |
2016.02.17 |
申请人 |
Microsoft Technology Licensing, LLC |
发明人 |
Wang Chih-Yung (Paul);Zhang Yongguang;Tan Kun;Yin Qiufeng |
分类号 |
G06F9/46;G06F7/38;G06F9/50;G06F9/48;G06F9/52 |
主分类号 |
G06F9/46 |
代理机构 |
Lee & Hayes, PLLC |
代理人 |
Swain Sandy;Minhas Micky;Lee & Hayes, PLLC |
主权项 |
1. A method comprising:
performing a real-time task execution using a first thread on a first core of a multi-core processor; acquiring, by a second thread, a thread affinity for the second thread to execute the real-time task on a second core of the multi-core processor; storing a switch object in a queue that is accessible to the first thread and the second thread; writing, by the second thread, a callee ready indicator to a variable in the switch object; receiving, by the first thread, the callee ready indicator from the queue; writing, by the first thread, a caller ready indicator to the variable in the switch object; determining, by the second thread, that the caller ready indicator is in the variable; and transferring performance of the real-time task from the first thread to the second thread after the second thread is executing on the second core to perform the real-time task based at least in part on the determining. |
地址 |
Redmond WA US |