Skip to content

Fix intrusive queue splice links - #2314

Open
fallintoplace wants to merge 6 commits into
NVIDIA:mainfrom
fallintoplace:fix/intrusive-queue-splice-links
Open

fallintoplace wants to merge 6 commits into
NVIDIA:mainfrom
fallintoplace:fix/intrusive-queue-splice-links

Conversation

@fallintoplace

Copy link
Copy Markdown
Contributor

What
Fix link and tail updates in __intrusive_queue::splice.

Why
Moving a range could leave the source or destination queue with invalid links.

Implementation
Unlink the range before inserting it. Add exhaustive comparisons against std::list::splice.

@copy-pr-bot

copy-pr-bot Bot commented Oct 8, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

This branch has not been deployed

No deployments
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