doc: remove comment about using thread_local

Followup to https://github.com/bitcoin/bitcoin/pull/30095#discussion_r1605655974.
This commit is contained in:
fanquake 2024-05-21 10:29:16 +01:00
parent 5bba43312c
commit 1e7c20bc19
No known key found for this signature in database
GPG Key ID: 2EEB9F5CC09526C1

View File

@ -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;