使用测试和设置和最大寄存器的一位交换对象
A one-bit swap object using test-and-sets and a max register
摘要:
我们描述了一个线性化的,等待免费实现的一位交换对象从一个单一的最大寄存器和一个无界数组的测试和设置位。每个交换操作最多需要三个步骤。使用标准的随机结构,最大寄存器和测试和设置位可以被读写寄存器取代,代价是将交换操作的成本提高到预期的O(max(log n,min(log t,n)步,其中t是交换对象先前改变其值的次数,n是进程的数量。
英文摘要:
We describe a linearizable, wait-free implementation of a one-bit swap object from a single max register and an unbounded array of test-and-set bits. Each swap operation takes at most three steps. Using standard randomized constructions, the max register and test-and-set bits can be replaced by read-write registers, at the price of raising the cost of a swap operation to an expected O(max(log n, min(log t, n))) steps, where t is the number of times the swap object has previously changed its value and n is the number of processes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。