发明名称 Method and system for dynamically bounded spinning threads on a contested mutex
摘要 A method for managing a mutex in a data processing system is presented. For each mutex, a count is maintained of the number of threads that are spinning while waiting to acquire a mutex. If a thread attempts to acquire a locked mutex, then the thread enters a spin state or a sleep state based on restrictive conditions and the number of threads that are spinning during the attempted acquisition. In addition, the relative length of time that is required by a thread to spin on a mutex after already sleeping on the mutex may be used to regulate the number of threads that are allowed to spin on the mutex.
申请公布号 US2005081204(A1) 申请公布日期 2005.04.14
申请号 US20030671122 申请日期 2003.09.25
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 SCHOPP JOEL HOWARD
分类号 G06F9/46;G06F9/52;(IPC1-7):G06F9/46 主分类号 G06F9/46
代理机构 代理人
主权项
地址