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

[libc++] Make std::lock_guard available with _LIBCPP_HAS_NO_THREADS #98717

Merged
merged 20 commits into from
Jul 17, 2024

Commits on Jul 13, 2024

  1. [libcxx] Make locks available with _LIBCPP_HAS_NO_THREADS

    This change makes std::lock_guard, std::unique_lock, std::scoped_lock,
    and std::shared_lock available when _LIBCPP_HAS_NO_THREADS is set.
    These classes are generic and don't require threading support, and are
    regularly used even in environments where threading isn't available like
    embedded.
    
    fixes llvm#89891
    petrhosek committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    1aec8cd View commit details
    Browse the repository at this point in the history
  2. Update test annotations

    petrhosek committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    2b4d430 View commit details
    Browse the repository at this point in the history
  3. More tests

    petrhosek committed Jul 13, 2024
    Configuration menu
    Copy the full SHA
    e06a8e6 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2024

  1. Fix formatting

    petrhosek committed Jul 14, 2024
    Configuration menu
    Copy the full SHA
    896cdc3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d717ad2 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2024

  1. Configuration menu
    Copy the full SHA
    252198d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3ffe2d1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b5d686e View commit details
    Browse the repository at this point in the history
  4. Update tests

    petrhosek committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    cd00542 View commit details
    Browse the repository at this point in the history
  5. Update test

    petrhosek committed Jul 15, 2024
    Configuration menu
    Copy the full SHA
    757a485 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2024

  1. Update tests

    petrhosek committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    38d2425 View commit details
    Browse the repository at this point in the history
  2. Fix formatting

    petrhosek committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    d7eb493 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f07b064 View commit details
    Browse the repository at this point in the history
  4. Missing include

    petrhosek committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    da38a9f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5cdda4a View commit details
    Browse the repository at this point in the history
  6. Apply minor review comments

    ldionne committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    9f95bb1 View commit details
    Browse the repository at this point in the history
  7. Fix out-of-scope issue

    ldionne committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    c1384a3 View commit details
    Browse the repository at this point in the history
  8. Fix other ref issue

    ldionne committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    09c8e0c View commit details
    Browse the repository at this point in the history
  9. Fix issues in C++03 mode

    petrhosek committed Jul 16, 2024
    Configuration menu
    Copy the full SHA
    5273378 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2024

  1. Update test name

    petrhosek committed Jul 17, 2024
    Configuration menu
    Copy the full SHA
    2ed78f1 View commit details
    Browse the repository at this point in the history