Skip to content

add counting_scope compatible with alien coroutines#45

Merged
m-fila merged 1 commit intomainfrom
counting_scope
Feb 12, 2026
Merged

add counting_scope compatible with alien coroutines#45
m-fila merged 1 commit intomainfrom
counting_scope

Conversation

@m-fila
Copy link
Member

@m-fila m-fila commented Feb 11, 2026

Add counting_scope compatible with "alien" coroutine family.
This utility allows starting tasks eagerly. Inspired by std::counting_scope but with a notable difference for joining, that is here we have join that blocks the calling thread until all work in the scope is done, instead of having on_empty which produces a tasks that finishes when all the work is done.

@m-fila m-fila merged commit e0f30a8 into main Feb 12, 2026
1 check passed
@m-fila m-fila deleted the counting_scope branch February 12, 2026 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant