Skip to content

std.Io: add Group.concurrent#26036

Merged
andrewrk merged 1 commit into
masterfrom
Group.concurrent
Nov 24, 2025
Merged

std.Io: add Group.concurrent#26036
andrewrk merged 1 commit into
masterfrom
Group.concurrent

Conversation

@andrewrk

Copy link
Copy Markdown
Member

A function that participates in a group but guarantees allocation of one unit of concurrency, or returns an error.

A function that participates in a group but guarantees allocation of one
unit of concurrency, or returns an error.
@andrewrk andrewrk requested a review from kristoff-it November 24, 2025 15:10
@andrewrk andrewrk enabled auto-merge (rebase) November 24, 2025 20:27
@Flourish38

Copy link
Copy Markdown

I think it makes sense to also add this to Io.Select, since it's a wrapper around Group. We were discussing this in the ZPL Discord a week and a half ago, in the zig-help thread "How do I write a server with the new async IO?"

@andrewrk

Copy link
Copy Markdown
Member Author

I agree @Flourish38

@andrewrk andrewrk merged commit 32dc46a into master Nov 24, 2025
9 checks passed
@andrewrk andrewrk deleted the Group.concurrent branch November 24, 2025 22:33
@mk12

mk12 commented Nov 26, 2025

Copy link
Copy Markdown
Contributor

@andrewrk I just filed #26056 which is related to this and captures the thread @Flourish38 is referring to.

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.

3 participants