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

Implement a stub pthreads library for THREAD_MODEL=single #518

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Commits on Aug 6, 2024

  1. Configuration menu
    Copy the full SHA
    94f158d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b3f7fed View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1236cd0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2bf12f4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    101942b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    63e05d2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    6dc22a9 View commit details
    Browse the repository at this point in the history
  8. Enable pthread_self

    This is needed in order to *correctly* implement things such as
    cancellation handlers being invoked on pthread_exit
    ArcaneNibble committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    a08594c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    7c33501 View commit details
    Browse the repository at this point in the history
  10. Implement single_threaded pthread_exit

    Performs all the cancellation actions and then calls exit()
    ArcaneNibble committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    f849058 View commit details
    Browse the repository at this point in the history
  11. Don't invoke notify builtin in single-threaded mode

    This fixes compatibility with old versions of clang
    ArcaneNibble committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    80e0c80 View commit details
    Browse the repository at this point in the history