Commit a065584a authored by Antoine Kaufmann's avatar Antoine Kaufmann
Browse files

dist/common: mark last pos cleaned as volatile

It's accessed from both poll thread and IO thread
parent 9447c946
...@@ -41,7 +41,7 @@ struct Peer { ...@@ -41,7 +41,7 @@ struct Peer {
// last position reported to our peer // last position reported to our peer
uint32_t local_pos_reported; uint32_t local_pos_reported;
// last position cleaned // last position cleaned
uint32_t local_pos_cleaned; volatile uint32_t local_pos_cleaned;
// rkey and base address of the remote queue to write to // rkey and base address of the remote queue to write to
uint64_t remote_rkey; uint64_t remote_rkey;
......
Markdown is supported
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