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

opt: use runtimex to avoid panic #9

Merged
merged 3 commits into from
Jan 10, 2025
Merged

opt: use runtimex to avoid panic #9

merged 3 commits into from
Jan 10, 2025

Conversation

AsterDY
Copy link
Collaborator

@AsterDY AsterDY commented Jan 10, 2025

What type of PR is this?

Check the PR title.

  • This PR title match the format: <type>(optional scope): <description>
  • The description of this PR title is user-oriented and clear enough for others to understand.
  • Attach the PR updating the user documentation if the current PR requires user awareness at the usage level. User docs repo

(Optional) Translate the PR title into Chinese.

(Optional) More detailed description for this PR(en: English/zh: Chinese).

en: use unsafe.Add to avoid race panic
zh(optional): 将指针偏移操作改成 unsafe.Add 避免 race 报错

(Optional) Which issue(s) this PR fixes:

(optional) The PR that updates user documentation:

@AsterDY AsterDY changed the title opt: use unsafe.Add to avoid race panic opt: use runtimex to avoid panic Jan 10, 2025
@AsterDY AsterDY merged commit 3936e3c into main Jan 10, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants