Commit 2df2ed96 authored by Igor Chorążewicz's avatar Igor Chorążewicz
Browse files

mpsc_queue: recovery using try_consume

- remove recover() method (try_consume can now be used)
- store written offset on pmem so that we can recover
  consumer/producer offsets on restart
- call user callback twice in try_consume if wraparound
  happens
parent 4d72dde3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment