aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2024-05-21 10:29:16 +0100
committerfanquake <fanquake@gmail.com>2024-05-21 10:29:51 +0100
commit1e7c20bc19a216269c646177ab90cfa084c096a5 (patch)
tree25d692f2e0cc8cb86cade95777b7575eece208b6
parent5bba43312c0ceccfe18bd4d086e12ec0497ed926 (diff)
doc: remove comment about using thread_local
Followup to https://github.com/bitcoin/bitcoin/pull/30095#discussion_r1605655974.
-rw-r--r--src/test/util/random.h5
1 files 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;