Split lists of `Waker` and directly-registered `Future` callbacks
authorMatt Corallo <git@bluematt.me>
Tue, 13 Feb 2024 21:58:46 +0000 (21:58 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 15 Feb 2024 21:52:06 +0000 (21:52 +0000)
commit2c987209f9fdeeebd7f2f9f13fd6fee97542ce1b
treea9a513d1ac9a7185f5e18983ae107a310b985e02
parent73da722d18af7b510711c405154d81c1c9458942
Split lists of `Waker` and directly-registered `Future` callbacks

In the next commit we'll fix a memory leak due to keeping too many
`std::task::Waker` callbacks in `FutureState` from redundant `poll`
calls, but first we need to split handling of `StdWaker`-based
future wake callbacks from normal ones, which we do here.
lightning/src/util/wakers.rs