the following illustration shows a problem with lock free
play

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


  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

  2. Order of operations Initial state Insert blue Insert orange Remove pink

  3. Order of operations Blue find Insert blue Insert orange Remove pink

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

  5. Order of operations Orange find Insert blue Insert orange Remove pink

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

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

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

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

  10. Order of operations Final state: Insert blue Pink is sprayable, but not findable, Insert orange causing many delete-min calls to fail/retry Remove pink

Recommend


More recommend