]> git.bitcoin.ninja Git - rust-lightning/commit
Add `CondVar::wait_{timeout_,}while` to `debug_sync`
authorMatt Corallo <git@bluematt.me>
Mon, 20 Mar 2023 18:26:39 +0000 (18:26 +0000)
committerMatt Corallo <git@bluematt.me>
Mon, 3 Apr 2023 16:49:54 +0000 (16:49 +0000)
commita1b5a1bba38e0a4ab08603adbcf9e54f27e86f19
treee9aa549741917743f967f03636ae64dabfbabf06
parent2fab8873f939242bcde16ee4b9a107d288e8c535
Add `CondVar::wait_{timeout_,}while` to `debug_sync`

These are useful, but we previously couldn't use them due to our
MSRV. Now that we can, we should use them, so we expose them via
our normal debug_sync wrappers.
lightning/src/sync/debug_sync.rs
lightning/src/sync/nostd_sync.rs