首页> 外国专利> LOCK-FREE READING OF UNITARY VALUE SETS

LOCK-FREE READING OF UNITARY VALUE SETS

机译:无锁读数酉值集

摘要

Garbage collectors and other software may utilize performant lock-free multithreaded software. Unitary lock-free updates to a set of variables involves an updating value Z, release barriers and acquire barriers that enforce orderings on code execution, and atomicity resulting from variable alignment. Conveyance is accomplished with a values placing step and a values retrieving step. Values placing replaces a non-updated value in Var1 with Z, executes a release barrier, replaces the non-updated values of other variables with update values, executes another release barrier, and replaces Z with the Var1 update value. Values retrieving reads from Var1 into DestVar1A, executes an acquire barrier, reads from the other variables into respective destination variables, executes another acquire barrier, reads from Var1 into DestVar1B, and repeats if DestVar1A is Z or if DestVar1A and DestVar1B are unequal. This solution conveys the update values without locks, as a unit.
机译:垃圾收集器和其他软件可以利用可锁定的多线程软件。一组变量的单一锁定更新涉及更新值Z,释放障碍,并获取强制执行代码执行中的排序的障碍,以及由可变对齐产生的原子性。用值放置步骤和值检索步骤来实现传送。放置值替换VAR1中的未更新值,使用z执行释放屏障,替换更新值的其他变量的非更新值,执行另一个释放屏障,并用VAR1更新值替换z。从var1检索读入destvar1a的值,执行获取屏障,从另一个变量读入各个目的地变量,执行另一个获取屏障,从var1读入destvar1b,并且如果destvar1a是z或者destvar1a和destvar1b的反复,则重复。该解决方案将在没有锁定的情况下传送更新值,作为一个单元。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号