Skip to content

[IO] Lease buffers from the operation schedulers - #100

Merged
FranzBusch merged 1 commit into
mainfrom
fb-pb2-lease-buffer-schedulers
Nov 6, 2026
Merged

FranzBusch merged 1 commit into
mainfrom
fb-pb2-lease-buffer-schedulers

Conversation

@FranzBusch

Copy link
Copy Markdown
Member

Adds operations to the TCP, UDP and file scheduler protocols that hand out and take leases.

@FranzBusch
FranzBusch added this pull request to stack #96 October 26, 2026 15:23
@FranzBusch
FranzBusch requested a review from al45tair as a code owner October 26, 2026 15:23
@FranzBusch
FranzBusch force-pushed the fb-pb2-lease-buffer-schedulers branch from 7e85e05 to 54cedee Compare October 29, 2026 10:22

@al45tair al45tair left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did wonder whether LeasedBuffer should have a deinit that returns the buffer, if someone hasn't already done so.

Base automatically changed from fb-new-toolchain to main November 6, 2026 16:16
Adds operations to the TCP, UDP and file scheduler protocols that hand out and take leases.
@FranzBusch
FranzBusch force-pushed the fb-pb2-lease-buffer-schedulers branch from 54cedee to 628cf85 Compare November 6, 2026 16:27
@FranzBusch

Copy link
Copy Markdown
Member Author

I did wonder whether LeasedBuffer should have a deinit that returns the buffer, if someone hasn't already done so.

For now I decided against it so that users must call it themselves. I am not yet convinced it is a resource that I am okay with to automatically release on deinit but I wanna keep it open for later.

@FranzBusch
FranzBusch merged commit 709b2fe into main Nov 6, 2026
19 of 21 checks passed
@FranzBusch
FranzBusch deleted the fb-pb2-lease-buffer-schedulers branch November 6, 2026 16:33
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.

2 participants