Skip to content

epoll_wait: re-block when events were consumed by another thread#2261

Merged
sporksmith merged 6 commits intoshadow:mainfrom
sporksmith:epoll-race
Jul 7, 2022
Merged

epoll_wait: re-block when events were consumed by another thread#2261
sporksmith merged 6 commits intoshadow:mainfrom
sporksmith:epoll-race

Conversation

@sporksmith
Copy link
Copy Markdown
Contributor

@sporksmith sporksmith commented Jul 6, 2022

Fixes #2260

@sporksmith sporksmith added this to the Support arti milestone Jul 6, 2022
@github-actions github-actions bot added Component: Main Composing the core Shadow executable Component: Build Build/install tools and dependencies Component: Testing Unit and integration tests and frameworks labels Jul 6, 2022
This fixes a race condition where the elapsed time could be slightly
less than the itemer value, causing a test assertion to fail.
@sporksmith sporksmith marked this pull request as ready for review July 7, 2022 00:50
@sporksmith sporksmith requested a review from stevenengler July 7, 2022 00:50
This was failing sometimes when run natively.
@sporksmith sporksmith enabled auto-merge July 7, 2022 15:59
@sporksmith sporksmith merged commit 777cce2 into shadow:main Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: Build Build/install tools and dependencies Component: Main Composing the core Shadow executable Component: Testing Unit and integration tests and frameworks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

epoll_wait never delivers events to multiple waiters

2 participants