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

semaphore: Fix a few regressions #14755

Closed
wants to merge 1 commit into from

Commits on Nov 13, 2024

  1. semaphore: Fix a few regressions

    Regressions caused by signedness issues in
    "sem: change sem wait to atomic operation".
    (apache#14465)
    
    An alternative would be to make these atomic macros propagate
    signedness using the typeof() GCC/clang extension. I'm not inclined
    to do so because typeof is not so portable though. As we can unlikely
    require "real" C11 atomics in the foreseeable future, maybe we should
    use a different set of names from C11 to avoid confusions.
    yamt committed Nov 13, 2024
    Configuration menu
    Copy the full SHA
    ee3f119 View commit details
    Browse the repository at this point in the history