Skip to content

Add additional epoll tests#2758

Merged
stevenengler merged 1 commit intoshadow:mainfrom
stevenengler:add-epoll-test
Feb 23, 2023
Merged

Add additional epoll tests#2758
stevenengler merged 1 commit intoshadow:mainfrom
stevenengler:add-epoll-test

Conversation

@stevenengler
Copy link
Copy Markdown
Contributor

Test the race-condition where Linux avoids spurious wakeups for epoll_wait if the epoll status changes before the threads are woken.

I wasn't sure if level-triggered epoll_wait() was guaranteed to be woken for all threads (it's not), so I tried it and figured it probably doesn't hurt to add a test for it.

@stevenengler stevenengler self-assigned this Feb 22, 2023
@github-actions github-actions bot added Component: Build Build/install tools and dependencies Component: Testing Unit and integration tests and frameworks labels Feb 22, 2023
Test the race-condition where Linux avoids spurious wakeups for `epoll_wait` if
the epoll status changes before the threads are woken.
@stevenengler stevenengler merged commit 100685c into shadow:main Feb 23, 2023
@stevenengler stevenengler deleted the add-epoll-test branch February 23, 2023 17:29
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: Testing Unit and integration tests and frameworks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants