Skip to content

Fix empty atomic intrusive queue prepend - #2347

Merged
ericniebler merged 2 commits into
NVIDIA:mainfrom
fallintoplace:fix/atomic-intrusive-queue-empty-prepend
Oct 25, 2026
Merged

ericniebler merged 2 commits into
NVIDIA:mainfrom
fallintoplace:fix/atomic-intrusive-queue-empty-prepend

Conversation

@fallintoplace

Copy link
Copy Markdown
Contributor

What

  • Handle empty input in atomic queue prepend.

Why

  • Empty input has no tail, so prepend must return before reading it.

Implementation

  • Return early when the incoming queue is empty.

@copy-pr-bot

copy-pr-bot Bot commented Oct 18, 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.

@ericniebler

Copy link
Copy Markdown
Collaborator

/ok to test 4d7afb8

@ericniebler

Copy link
Copy Markdown
Collaborator

/ok to test 334d2cc

@ericniebler
ericniebler merged commit 89bd994 into NVIDIA:main Oct 25, 2026
36 of 40 checks passed
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