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

Revert "sem: change sem wait to atomic operation" #14804

Merged
merged 1 commit into from
Nov 20, 2024

Commits on Nov 15, 2024

  1. Revert "sem: change sem wait to atomic operation"

    This reverts commit befe298.
    
    Because a few regressions have been reported and
    it likely will take some time to fix them:
    
    * for some configurations, semaphore can be used on the special
      memory region, where atomic access is not available.
      cf. apache#14625
    
    * include/nuttx/lib/stdatomic.h is not compatible with
      the C11 semantics, which the change in question relies on.
      cf. apache#14755
    yamt committed Nov 15, 2024
    Configuration menu
    Copy the full SHA
    b3b3f1f View commit details
    Browse the repository at this point in the history