You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rt: refactor runtime to avoid Rc<RefCell<...>> (tokio-rs#142)
This change refactors the runtime to not use reference counting directly in the ops themselves. Instead, ops access the driver via thread local variables.
This is sound because dropping the driver (which happens when it is removed from its thread-local state) blocks the thread until all ops complete, ensuring that we do not free the contents of the driver until after all operations have completed.
0 commit comments