修复关闭期间串口 I/O 竞态并优化传输指引 - #15
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
修复 uart_close 在活动文件发送收尾期间允许排队 I/O 抢先执行的竞态,将 uart_open 纳入同一生命周期锁,并让 uart_available 暴露 closing 状态;补充关闭期间与关闭后 write 回归。同步优化两份 SKILL 和中英文 README:增加 5 步最小流程、长传输 max_duration_ms 推荐、BusyBox stty raw -echo、多 COM 实例提示、大输出摘要对账,以及经 COM3 实测确认的接收端就绪握手。验证已通过 Rust 1.98 fmt、严格 Clippy、全功能测试、doctest、cargo doc、release build;COM10 全套回环和示例回环;COM3 Linux 启动、命令锚点及 raw 文件长度和 SHA-256 对账。