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

feat(threads): sort ThreadList by priority #381

Merged

Commits on Sep 13, 2024

  1. feat(threads): sort thread blocklist by prio

    Insert new threads in `ThreadList` based on priorities, so that the
    highest priority thread is the head.
    Within a prio the threads are ordered in FIFO.
    elenaf9 committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    39b95ef View commit details
    Browse the repository at this point in the history
  2. feat(tests): add threading-lock test

    This demonstrates how multiple threads can wait for the same lock and
    get unblocked by priority, and within a prio by FIFO order.
    elenaf9 committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    ee86666 View commit details
    Browse the repository at this point in the history