We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 041ee31 + 18f3c16 commit c643576Copy full SHA for c643576
libs/binder/rust/rpcbinder/src/server/trusty.rs
@@ -106,6 +106,10 @@ pub struct RpcServerConnection {
106
ctx: *mut c_void,
107
}
108
109
+// SAFETY: The opaque handle: `ctx` points into a dynamic allocation,
110
+// and not tied to anything specific to the current thread.
111
+unsafe impl Send for RpcServerConnection {}
112
+
113
impl Drop for RpcServerConnection {
114
fn drop(&mut self) {
115
// We do not need to close handle_fd since we do not own it.
0 commit comments