Skip to content

Remove unsafe intrusive list code#248

Open
sfackler wants to merge 1 commit intodevelopfrom
pin-list
Open

Remove unsafe intrusive list code#248
sfackler wants to merge 1 commit intodevelopfrom
pin-list

Conversation

@sfackler
Copy link
Copy Markdown
Member

Before this PR

The blocking endpoint thread pool used a hand-written intrusive linked list to manage worker threads. This involves a bunch of unsafe code, both raw pointers and careful tip-toeing around violating the compiler's assumptions around aliasing.

After this PR

We now use the pin-list crate, which provides a framework that encapsulates the unsafety involved in writing intrusive lists.

@sfackler sfackler requested a review from a team June 16, 2025 00:31
@stale
Copy link
Copy Markdown

stale bot commented Oct 18, 2025

This PR has been automatically marked as stale because it has not been touched in the last 14 days. If you'd like to keep it open, please leave a comment or add the 'long-lived' label, otherwise it'll be closed in 7 days.

@stale stale bot added the stale label Oct 18, 2025
@sfackler sfackler removed the stale label Oct 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant