Skip to content

Fix/kqueue waker#929

Open
paddor wants to merge 1 commit into
compio-rs:masterfrom
paddor:fix/kqueue-waker
Open

Fix/kqueue waker#929
paddor wants to merge 1 commit into
compio-rs:masterfrom
paddor:fix/kqueue-waker

Conversation

@paddor
Copy link
Copy Markdown
Contributor

@paddor paddor commented May 22, 2026

No description provided.

@paddor
Copy link
Copy Markdown
Contributor Author

paddor commented May 22, 2026

Rebasing...

@paddor paddor force-pushed the fix/kqueue-waker branch 2 times, most recently from 5337326 to 9bb54e4 Compare May 22, 2026 14:04
polling's Events::is_empty() filters NOTIFY_KEY events, so a
Poller::notify() wakeup produces an empty event set. Check the
AwakeFlag's NOTIFIED bit after wait() returns to detect this case
and return Ok(()) instead of ETIMEDOUT.

Fixes compio-rs#928
@paddor paddor force-pushed the fix/kqueue-waker branch from 9bb54e4 to ca4bc05 Compare May 22, 2026 14:30
@paddor
Copy link
Copy Markdown
Contributor Author

paddor commented May 22, 2026

Should be ready.

@Berrysoft
Copy link
Copy Markdown
Member

Thanks, @paddor . However, the tests you provided still pass even if the driver had not been modified.

@paddor
Copy link
Copy Markdown
Contributor Author

paddor commented May 23, 2026

This is not the fix. More info coming.

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