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

task_setup: set sigprocmask directly to improve performance #7910

Merged
merged 1 commit into from
Dec 17, 2022

Conversation

zyfeier
Copy link
Contributor

@zyfeier zyfeier commented Dec 17, 2022

Summary

Set sigprocmask directly to improve performance.

Impact

pthread_create cost time:
before modify:
22384

after modify:
20536

Testing

sabre-6quad:smp

signed-off-by: zhangyuan21 <zhangyuan21@xiaomi.com>
@xiaoxiang781216 xiaoxiang781216 merged commit 37789e7 into apache:master Dec 17, 2022
@zyfeier zyfeier deleted the pthread2 branch December 29, 2022 01:59
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.

2 participants