Skip to content

Fix bad test logic for bwos lifo queue#1968

Open
maikel wants to merge 1 commit intoNVIDIA:mainfrom
maikel:maikel/bwos-test-fix
Open

Fix bad test logic for bwos lifo queue#1968
maikel wants to merge 1 commit intoNVIDIA:mainfrom
maikel:maikel/bwos-test-fix

Conversation

@maikel
Copy link
Copy Markdown
Collaborator

@maikel maikel commented Mar 29, 2026

The thief loop exited on the first steal_front() == 0:

If the thief gets a momentary 0 (e.g., between block transitions before the owner has granted a new block), it exits permanently. The owner then spinned forever on a full queue with no thief to drain it.

The thief loop exited on the first steal_front() == 0:

If the thief gets a momentary 0 (e.g., between block transitions before the owner has granted a new block), it exits permanently. The owner then spinned forever on a full queue with no thief to drain it.
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot bot commented Mar 29, 2026

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.

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