An implementation of a shared object is lock-free if, whenever threads are running its operations, some operation completes after a finite number of steps of the system, whatever the scheduling. It is wait-free if every operation completes in a finite number of its own thread’s steps. The ABA problem arises when a thread reads a value A, then between its read and its CAS other threads change A to B and back to A: the CAS succeeds when it should not.
Computer Science · المسرد
ما معنى Lock-free, wait-free, ABA problem؟
يُعرف أيضًا باسم: lock-free · wait-free · ABA problem