Fix concurrent access.
This commit is contained in:
1 parent
edcf8ee37a
commit
a318d36c35
1 file changed
+1
-1
+1
-1
@@ -343,7 +343,7 @@
|
|||||||
} \
|
} \
|
||||||
M_CALL_SET(oplist, out->data, src->data); \
|
M_CALL_SET(oplist, out->data, src->data); \
|
||||||
if (out < src) { \
|
if (out < src) { \
|
||||||
M_F(name, _read_lock)(src); \
|
M_F(name, _read_unlock)(src); \
|
||||||
M_F(name, _write_unlock)(out); \
|
M_F(name, _write_unlock)(out); \
|
||||||
} else { \
|
} else { \
|
||||||
M_F(name, _write_unlock)(out); \
|
M_F(name, _write_unlock)(out); \
|
||||||
|
|||||||
Reference in new issue
Block a user