Skip to content

Threadpool should have an API for waiting for spawned tasksย #1349

Open
@withoutboats

Description

@withoutboats

If you spawn a bunch of tasks on the threadpool from the main thread, and then the main thread concludes, the program will terminate before the threadpool's tasks have finished. Ideally, there'd be an easy way to ensure that all the spawned tasks conclude before the program ends.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions