Skip to content

Commit

Permalink
iox-eclipse-iceoryx#2341 fix lockfree_queue documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
StaRadian committed Aug 29, 2024
1 parent a285e98 commit 98be8b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/design/lockfree_queue.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Constraint: we can never push more than n elements (and our use case does not re
Pop reads the value at the index of head and returns it if the cycle matches Heads cycle and a CAS to increase head by 1 succeeds.

```
[ (c,?), (c,y), (c,x), (c-1,?) ] H=(c,1) T=(c,3)
[ (c,?), (c,x), (c,y), (c-1,?) ] H=(c,1) T=(c,3)
```

pop returns y
Expand Down

0 comments on commit 98be8b4

Please sign in to comment.