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

Remove pthread based thread local support. #49297

Merged
merged 2 commits into from
Jan 13, 2024

Commits on Jan 8, 2024

  1. Remove pthread based thread local support.

    The thread_local storage class was not available pre-C++11. Even when C++11 was
    available, the C++ runtime in versions of iOS <= 9.0 was not capable of
    supporting this storage class. So we ended up using pthread directly in that
    case. The unique pointer support was added later. Now that the storage class
    has been supported on all Flutter platforms for a while, we can remove the
    fallback and remove a bunch of code. The ThreadLocalUniquePtr can be removed
    too but that can be attempted in a separate migration.
    chinmaygarde committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    c673abe View commit details
    Browse the repository at this point in the history
  2. PR

    chinmaygarde committed Jan 8, 2024
    Configuration menu
    Copy the full SHA
    03a2967 View commit details
    Browse the repository at this point in the history