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

rt: unhandled panic config for current thread rt #4770

Merged
merged 5 commits into from Jun 16, 2022

Commits on Jun 15, 2022

  1. rt: unhandled panic config for current thread rt

    Allows the user to configure the runtime's behavior when a spawned task
    panics. Currently, the panic is propagated to the JoinHandle and the
    runtime resumes. This patch lets the user set the runtime to shutdown on
    unhandled panic.
    
    So far, this is only implemented for the current-thread runtime.
    
    Refs: #4516
    carllerche committed Jun 15, 2022
    Copy the full SHA
    bd40a2d View commit details
    Browse the repository at this point in the history
  2. Fix doc tests

    carllerche committed Jun 15, 2022
    Copy the full SHA
    853a1e0 View commit details
    Browse the repository at this point in the history
  3. fix more docs

    carllerche committed Jun 15, 2022
    Copy the full SHA
    23f9765 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2022

  1. Update tokio/src/runtime/basic_scheduler.rs

    Co-authored-by: Alice Ryhl <alice@ryhl.io>
    carllerche and Darksonn committed Jun 16, 2022
    Copy the full SHA
    9a3a850 View commit details
    Browse the repository at this point in the history
  2. fix broken test

    carllerche committed Jun 16, 2022
    Copy the full SHA
    a25ba9c View commit details
    Browse the repository at this point in the history