-, - , - - O(N), , , , .
, ( ) , :
- ,
cur - node ( /
cur/cur->next) - Atomic op:
compare_and_swap(cur->next, new, new->next);
: if (new->value == next->value) return; // someone beat us to it
Else: cur = cur->next ( , - ).
.. node , , - , node ( - ), -, (.. N, N+3, N+1, - N+2), , , "" node, - .
; RCU (Read-Copy-Update) .