发明名称 |
Transparent user mode scheduling on traditional threading systems |
摘要 |
Embodiments for performing cooperative user mode scheduling between user mode schedulable (UMS) threads and primary threads are disclosed. In accordance with one embodiment, an asynchronous procedure call (APC) is received on a kernel portion of a user mode schedulable (UMS) thread. The status of the UMS thread as it is being processed in a multi-processor environment is determined. Based on the determined status, the APC is processed on the UMS thread. |
申请公布号 |
US9229789(B2) |
申请公布日期 |
2016.01.05 |
申请号 |
US201313910936 |
申请日期 |
2013.06.05 |
申请人 |
Microsoft Technology Licensing, LLC |
发明人 |
Jayamohan Ajith;Kishan Arun U.;Probert Dave;Teixeira Pedro |
分类号 |
G06F3/00;G06F9/54;G06F13/16;G06F9/46;G06F9/48 |
主分类号 |
G06F3/00 |
代理机构 |
|
代理人 |
Jardine John;Yee Judy;Minhas Micky |
主权项 |
1. A computer readable storage memory storing computer-executable instructions that, when executed, cause one or more processors to perform acts comprising:
creating a primary thread from a standard thread, the created primary thread including an original user thread descriptor that resides in an upper portion of a user virtual address (VA) space of the created primary thread; and creating a duplicate user thread descriptor in a lower portion of the user VA space of the created primary thread, wherein: the original user thread descriptor includes a self-pointer that points to a location of the original user thread descriptor; the duplicate user thread descriptor includes a duplicate pointer that is a copy of the self-pointer of the original user thread descriptor, the self-pointer of the original user thread descriptor and the duplicate pointer both leading to an identical address in a physical memory; and a data segment that is unable to directly access the original user thread descriptor indirectly accesses the original user thread descriptor via the duplicate pointer of the duplicate user thread descriptor. |
地址 |
Redmond WA US |