-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LocalExecutor without atomic/mutex structure overhead? #39
Comments
While One idea might be to wrap everything in a reentrant mutex and use that for polling and wakeups. |
Ah, I see. I know there's been discussion of a |
Something I've been writing is an async framework that uses |
It is now available here. |
Currently,
LocalExecutor
wrapsExecutor
and usesExecutor
'sState
, which is designed to support multithreading and has the overhead of Mutex, Arc, ConcurrentQueue, and so on. It would be nice if there was a version ofLocalExecutor
that did not make this assumption and didn't have to pay for these structures in a strictly single-threaded context. Would this be possible to do now that rust-lang/rust#95985 is live in 1.68?The text was updated successfully, but these errors were encountered: