docs: mark 5.3 (XhciEndpHandle Send/Sync) as automatic via std::fs::File

This commit is contained in:
2026-07-09 00:42:23 +03:00
parent 109abf1a7d
commit c9c86cf929
+3 -1
View File
@@ -325,7 +325,9 @@ Add cargo-fuzz target for:
- All TRB types encode/decode round-trip
- Random byte sequences (should not crash)
### 5.3 XhciEndpHandle: Add Send/Sync
### 5.3 XhciEndpHandle: Add Send/Sync ✅ AUTOMATIC (2026-07-08)
`XhciEndpHandle` contains two `std::fs::File` objects, which are automatically `Send + Sync` per the Rust standard library. No manual `unsafe impl Send/Sync` is needed. Cross-referenced with Linux 7.1 `include/linux/fs.h` `struct file` which is also `atomic_t`-protected for safe cross-thread access.
**File**: `xhci/src/driver_interface.rs:709`
**Severity**: LOW