Skip to content

Add support for a form of when_all #6

@kammce

Description

@kammce

This issue will contain the list of tasks and utilities required to implement concurrent operations in a single thread.

co_await hal::cooperative_when_all(driver1->api1(ctx1), driver2->api2(ctx2), driver3->api3(ctx3));

This would perform a cooperative round robin execution of all of the coroutines then suspends itself. When resumed it will perform the cooperative round robin execution again until all coroutines have finished, then it will return.

This and the libraries that are coming from sender/receivers should make up what we need. This issue is for adding additional APIs beyond whats available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions