Skip to content

block_in_place doesn't panic on a spawn_local task #7368

@dspyz-matician

Description

@dspyz-matician

Description

See discussion #7365

@Darksonn response indicates block_in_place on spawn_local is intended to be unsupported, and I've found (but have not been able to create MWE) that in some cases worker threads vanish permanently when engaging in this behavior. But currently it doesn't panic and the fact that it's unsupported isn't explicitly documented

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-tokioArea: The main tokio crateC-bugCategory: This is a bug.M-blockingModule: tokio/task/blockingM-runtimeModule: tokio/runtime

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions