You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But if we split (SQ, CQ) into a producer thread and a consumer thread, both of them can access the same value without synchronization and break the borrow rule.
The text was updated successfully, but these errors were encountered:
SQ, CQ and Registrar contain
NonNull<io_uring>
which point to the same value.iou/src/submission_queue.rs
Lines 47 to 50 in 045f8d4
iou/src/completion_queue.rs
Lines 14 to 17 in 045f8d4
iou/src/registrar/mod.rs
Lines 47 to 50 in 045f8d4
NonNull::as_ref
andNonNull::as_mut
require borrow check.But if we split (SQ, CQ) into a producer thread and a consumer thread, both of them can access the same value without synchronization and break the borrow rule.
The text was updated successfully, but these errors were encountered: