首页> 外国专利> Method and system for dynamically bounded spinning threads on a contested mutex

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.
机译:提出了一种在数据处理系统中管理互斥量的方法。对于每个互斥锁,将保留等待获取互斥锁时正在旋转的线程数的计数。如果线程尝试获取锁定的互斥锁,则线程将基于限制性条件和尝试获取期间正在旋转的线程数而进入旋转状态或睡眠状态。另外,线程已经在互斥体上休眠之后在互斥体上旋转所需的相对时间长度可以用来调节允许在互斥体上旋转的线程数。

著录项

  • 公开/公告号US2005081204A1

    专利类型

  • 公开/公告日2005-04-14

    原文格式PDF

  • 申请/专利权人 JOEL HOWARD SCHOPP;

    申请/专利号US20030671122

  • 发明设计人 JOEL HOWARD SCHOPP;

    申请日2003-09-25

  • 分类号G06F9/46;

  • 国家 US

  • 入库时间 2022-08-21 22:24:44

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号