发明名称 ADAPTIVE SPIN-THEN-BLOCK MUTUAL EXCLUSION IN MULTI-THREADED PROCESSING
摘要 Adaptive modifications of spinning and blocking behavior in spin-then-block mutual exclusion include limiting spinning time to no more than the duration of a context switch. Also, the frequency of spinning versus blocking is limited to a desired amount based on the success rate of recent spin attempts. As an alternative, spinning is bypassed if spinning is unlikely to be successful because the owner is not progressing toward releasing the shared resource, as might occur if the owner is blocked or spinning itself. In another aspect, the duration of spinning is generally limited, but longer spinning is permitted if no other threads are ready to utilize the processor. In another aspect, if the owner of a shared resource is ready to be executed, a thread attempting to acquire ownership performs a "directed yield" of the remainder of its processing quantum to the other thread, and execution of the acquiring thread is suspended.
申请公布号 US2009328053(A1) 申请公布日期 2009.12.31
申请号 US20090554116 申请日期 2009.09.04
申请人 SUN MICROSYSTEMS, INC. 发明人 DICE DAVID
分类号 G06F9/46 主分类号 G06F9/46
代理机构 代理人
主权项
地址