From d516bea84e1ed014eb5e38a524a095fb33d172ac Mon Sep 17 00:00:00 2001 From: Dakoda Greaves Date: Tue, 2 Apr 2024 19:40:26 -0700 Subject: [PATCH] random: update documentation with UninterruptibleSleep instead of MilliSleep --- src/random.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/random.cpp b/src/random.cpp index f46b6000f45..06dab7093c1 100644 --- a/src/random.cpp +++ b/src/random.cpp @@ -381,8 +381,8 @@ void LockingCallbackOpenSSL(int mode, int i, const char* file, int line) NO_THRE /* A note on the use of noexcept in the seeding functions below: * * None of the RNG code should ever throw any exception, with the sole exception - * of MilliSleep in SeedSleep, which can (and does) support interruptions which - * cause a boost::thread_interrupted to be thrown. + * of UninterruptibleSleep in SeedSleep, which can (and does) support interruptions + * which cause a boost::thread_interrupted to be thrown. * * This means that SeedSleep, and all functions that invoke it are throwing. * However, we know that GetRandBytes() and GetStrongRandBytes() never trigger