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

tests: Fix thread return with local message queue #17502

Merged
merged 2 commits into from
Jan 15, 2022

Commits on Jan 11, 2022

  1. tests: Fix thread return with local message queue

    When a message queue is configured from the stack, that main function
    must never return -- otherwise, during sched_task_exit (which the
    thread's function "returns" to), message senders might still send
    messages into already freed stack space (which would be reused by
    sched_task_exit).
    
    Co-authored-by: Marian Buschsieweke <maribu@users.noreply.github.com>
    chrysn and maribu committed Jan 11, 2022
    Configuration menu
    Copy the full SHA
    87847b1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b4a1851 View commit details
    Browse the repository at this point in the history