Skip to content

Conversation

@camshaft
Copy link
Contributor

@camshaft camshaft commented Jun 21, 2023

Description of changes:

The atomic waker handle doesn't implement the Send/Sync traits, which prevents its use in multithreading environments.

This change adds those implementations.

Call-outs:

While I was here, I added a poll_close method to the atomic waker, which was useful in the XDP branch I'm working on.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@camshaft camshaft marked this pull request as ready for review June 21, 2023 19:31
@camshaft camshaft merged commit 812ea13 into main Jun 21, 2023
@camshaft camshaft deleted the camshaft/atomic-waker-fixes branch June 21, 2023 22:53
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