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

posix: pthread: do not assert in pthread_exit() on k_thread #62733

Commits on Sep 16, 2023

  1. posix: pthread: do not assert in pthread_exit() on k_thread

    If `pthread_exit()` is called from a `k_thread`, then we would
    previously trigger an assertion. The problem with that, is that
    is POSIX is acting as a compatibility layer.
    
    Given that it is a reasonable expectation to have the calling
    thread exit or abort when calling `pthread_exit()`, lets do just
    that.
    
    Signed-off-by: Christopher Friedt <cfriedt@meta.com>
    cfriedt committed Sep 16, 2023
    Configuration menu
    Copy the full SHA
    f1806bd View commit details
    Browse the repository at this point in the history