]> git.bitcoin.ninja Git - rust-lightning/commit
Drop the dummy no-std `Condvar` which never sleeps
authorMatt Corallo <git@bluematt.me>
Fri, 31 Mar 2023 18:08:10 +0000 (18:08 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 3 Apr 2023 16:49:54 +0000 (16:49 +0000)
commit3acf7e2c9d4896ddfb48e883023cb76f1c4de9a0
tree32c9b93ea5047a8c97a9ec2007187da3eec07b77
parentefcb5e02dc5bbdb92e917234336ce37a204e1d57
Drop the dummy no-std `Condvar` which never sleeps

In `no-std`, we exposed `wait` functions which rely on a dummy
`Condvar` which never actually sleeps. This is somwhat nonsensical,
not to mention confusing to users. Instead, we simply remove the
`wait` methods in `no-std` builds.
lightning/src/ln/channelmanager.rs
lightning/src/sync/debug_sync.rs
lightning/src/sync/nostd_sync.rs
lightning/src/util/wakers.rs