The following illustration shows a problem with lock-free skiplist - - PowerPoint PPT Presentation
The following illustration shows a problem with lock-free skiplist - - PowerPoint PPT Presentation
The following illustration shows a problem with lock-free skiplist ghost nodes on a spray list It shows why not maintaining the skiplist property in LockFree skiplist does not work well for a spray list priority queue Note that this is just
Order of operations Insert blue Insert orange Remove pink Initial state
Blue find Order of operations Insert blue Insert orange Remove pink
Blue connect level 0 Order of operations Insert blue Insert orange Remove pink
Orange find Order of operations Insert blue Insert orange Remove pink
Orange connect level 0 Order of operations Insert blue Insert orange Remove pink
Finish insert blue Order of operations Insert blue Insert orange Remove pink
Finish insert orange Order of operations Insert blue Insert orange Remove pink
Remove pink + find pink Order of operations Insert blue Insert orange Remove pink
Final state: Pink is sprayable, but not findable, causing many delete-min calls to fail/retry Order of operations Insert blue Insert orange Remove pink