The following illustration shows a problem with lock-free skiplist - - PowerPoint PPT Presentation

the following illustration shows a problem with lock free
SMART_READER_LITE
LIVE PREVIEW

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


slide-1
SLIDE 1

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 an example, and there are more possible problems

slide-2
SLIDE 2

Order of operations Insert blue Insert orange Remove pink Initial state

slide-3
SLIDE 3

Blue find Order of operations Insert blue Insert orange Remove pink

slide-4
SLIDE 4

Blue connect level 0 Order of operations Insert blue Insert orange Remove pink

slide-5
SLIDE 5

Orange find Order of operations Insert blue Insert orange Remove pink

slide-6
SLIDE 6

Orange connect level 0 Order of operations Insert blue Insert orange Remove pink

slide-7
SLIDE 7

Finish insert blue Order of operations Insert blue Insert orange Remove pink

slide-8
SLIDE 8

Finish insert orange Order of operations Insert blue Insert orange Remove pink

slide-9
SLIDE 9

Remove pink + find pink Order of operations Insert blue Insert orange Remove pink

slide-10
SLIDE 10

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