From 1e7c20bc19a216269c646177ab90cfa084c096a5 Mon Sep 17 00:00:00 2001 From: fanquake Date: Tue, 21 May 2024 10:29:16 +0100 Subject: [PATCH] doc: remove comment about using thread_local Followup to https://github.com/bitcoin/bitcoin/pull/30095#discussion_r1605655974. --- src/test/util/random.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/test/util/random.h b/src/test/util/random.h index c910bd6a3a..18ab425e48 100644 --- a/src/test/util/random.h +++ b/src/test/util/random.h @@ -14,9 +14,8 @@ /** * This global and the helpers that use it are not thread-safe. * - * If thread-safety is needed, the global could be made thread_local (given - * that thread_local is supported on all architectures we support) or a - * per-thread instance could be used in the multi-threaded test. + * If thread-safety is needed, a per-thread instance could be + * used in the multi-threaded test. */ extern FastRandomContext g_insecure_rand_ctx;