Yay, my patch to add `Arc::{incr,decr}_strong_count` has landed on Nightly! This should help make it easier to build manually managed thread-safe reference counters. Somewhat niche, but useful when you need it!https://github.com/rust-lang/rust/pull/70733 …
-
-
The reason why I wrote this patch is to help make it easier to write Executors. Each Future is passed a Waker (e.g. a callback with no args). Wakers need to implement Clone so they can be stored and later called on wake-up. This patch makes implementing Wakers by hand easier!
Show this threadThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I'm telling you this is coming right on time <3pic.twitter.com/04SI4148Rk
-
Ohh, amazing! If you end up trying out the method could you share feedback in https://github.com/rust-lang/rust/issues/71983 … ? -- even just "this worked as expected" is helpful -- moving to stabilizing this later on becomes easier if we know people have actually been trying it.
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.