发明名称 |
Dynamic change of thread contention scope assignment |
摘要 |
A system and computer-implemented method of converting a contention scope attribute of a user thread executing in a multithreaded environment are described. The method includes dynamically converting the contention scope attribute of the user thread running in the multithreaded environment between a process scope and a system scope. In changing from system scope to process scope, the kernel thread to which the user thread is mapped is converted to a scheduler activation thread, the contention attribute for the user thread is reset in a threads library and the user thread is added to the run queue of a relevant virtual processor. In changing from process scope to system scope, the underlying scheduler activation kernel thread is permanently and exclusively mapped to the user thread to achieve a system scope for the thread. And a replacement scheduler activation kernel thread is created for other user threads of the same process previously sharing the original scheduler activation kernel thread.
|
申请公布号 |
US2007101326(A1) |
申请公布日期 |
2007.05.03 |
申请号 |
US20050259249 |
申请日期 |
2005.10.27 |
申请人 |
HEWLETT-PACKARD DEVELOPMENT COMPANY, L.P. |
发明人 |
CAI WEIDONG;TRIPATHI DEEPAK;RAO SUNIL V. |
分类号 |
G06F9/46 |
主分类号 |
G06F9/46 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|