Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
a065584a
Commit
a065584a
authored
Aug 24, 2021
by
Antoine Kaufmann
Browse files
dist/common: mark last pos cleaned as volatile
It's accessed from both poll thread and IO thread
parent
9447c946
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dist/common/net.h
dist/common/net.h
+1
-1
No files found.
dist/common/net.h
View file @
a065584a
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment