首页>
外国专利>
Lock spin wait operation for multi-threaded applications in a multi-core computing environment
Lock spin wait operation for multi-threaded applications in a multi-core computing environment
展开▼
机译:多核计算环境中针对多线程应用程序的锁定旋转等待操作
展开▼
页面导航
摘要
著录项
相似文献
摘要
A method, system and computer-usable medium are disclosed for a lock-spin-wait operation for managing multi-threaded applications in a multi-core computing environment. A target processor core, referred to as a “spin-wait core” (SWC), is assigned (or reserved) for primarily running spin-waiting threads. Threads operating in the multi-core computing environment that are identified as spin-waiting are then moved to a run queue associated with the SWC to acquire a lock. The spin-waiting threads are then allocated a lock response time that is less than the default lock response time of the operating system (OS) associated with the SWC. If a spin-waiting fails to acquire a lock within the allocated lock response time, the SWC is relinquished, ceding its availability for other spin-waiting threads in the run queue to acquire a lock. Once a spin-waiting thread acquires a lock, it is migrated to its original, or an available, processor core.
展开▼