Skip to content

feat(mutex_blocking): impl Debug for blocking mutex#9

Merged
George-Miao merged 1 commit intocompio-rs:mainfrom
George-Miao:main
Jan 17, 2026
Merged

feat(mutex_blocking): impl Debug for blocking mutex#9
George-Miao merged 1 commit intocompio-rs:mainfrom
George-Miao:main

Conversation

@George-Miao
Copy link
Member

Closes #8

@George-Miao George-Miao requested a review from Berrysoft January 17, 2026 15:38
@George-Miao George-Miao self-assigned this Jan 17, 2026
@George-Miao George-Miao added the enhancement New feature or request label Jan 17, 2026
Copy link
Collaborator

@AsakuraMizu AsakuraMizu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but I have a small question: why not just re-export std::sync::Mutex?

@George-Miao
Copy link
Member Author

LGTM, but I have a small question: why not just re-export std::sync::Mutex?

Because the API is not identical to RefCell's. We need perfect mirror between sync and unsync versions.

@George-Miao George-Miao merged commit 5660bef into compio-rs:main Jan 17, 2026
4 checks passed
George-Miao added a commit that referenced this pull request Jan 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Need Debug for Mutex & MutexGuard

2 participants