8000 Feature: provide a way to shutdown the thread pool · Issue #97 · rust-threadpool/rust-threadpool · GitHub
[go: up one dir, main page]

Skip to content

Feature: provide a way to shutdown the thread pool  #97

@mattgathu

Description

@mattgathu

It would be great to provide a mechanism to terminate all pending tasks and wait for the current one to complete.

Essentially complete the current executing jobs (since I'm not sure it's possible to terminate spawned threads). And then don't proceed doing any more work.

At the moment this is not possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.0Currently planed for 2.0

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0