Skip to content

Commit

Permalink
Fix concurrent access.
Browse files Browse the repository at this point in the history
  • Loading branch information
P-p-H-d committed Oct 19, 2024
1 parent edcf8ee commit a318d36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion m-concurrent.h
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@
} \
M_CALL_SET(oplist, out->data, src->data); \
if (out < src) { \
M_F(name, _read_lock)(src); \
M_F(name, _read_unlock)(src); \
M_F(name, _write_unlock)(out); \
} else { \
M_F(name, _write_unlock)(out); \
Expand Down

0 comments on commit a318d36

Please sign in to comment.