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

lib: cpu: create a new libmetal API metal_yield #311

Merged
merged 1 commit into from
Oct 21, 2024

Commits on Oct 8, 2024

  1. lib/cpu.h: create a new libmetal API metal_yield

    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>
    wyr-7 committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    36fa15d View commit details
    Browse the repository at this point in the history