-
Notifications
You must be signed in to change notification settings - Fork 171
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
lib: cpu: create a new libmetal API metal_yield #311
Conversation
define metal_yield in sys.h files is more flexible to manage this in libmetal, metal_yield would be managed at the OS level and dispatched to metal_cpu_yield, metal_sleep_usec, or others Signed-off-by: Yongrong Wang <wangyongrong@xiaomi.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@edmooring , @tnmysh, |
@edmooring @tnmysh could you review this PR please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to go.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to go.
metal_yield would be managed at the OS level and dispatched to metal_cpu_yield, metal_sleep_usec, or others, it is more flexible to manage this in libmetal