Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: use AtomicUsize to replace Mutex<TxStatus> #266

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kien-rise
Copy link
Contributor

@kien-rise kien-rise commented Aug 22, 2024

Resolves #263

@kien-rise kien-rise marked this pull request as ready for review August 22, 2024 10:48
@kien-rise kien-rise changed the title feat: use AtomicUsize to replace Mutex<TxStatus> perf: use AtomicUsize to replace Mutex<TxStatus> Aug 23, 2024
@kien-rise
Copy link
Contributor Author

kien-rise commented Aug 23, 2024

Let me support the use cases where lock is not needed.

Converting to draft.

@kien-rise kien-rise marked this pull request as draft August 23, 2024 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Scheduler] Pack Mutex<TxStatus> into AtomicU8
1 participant