aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorMarcoFalke <[email protected]>2018-12-13 16:44:26 -0500
committerMarcoFalke <[email protected]>2018-12-13 16:44:36 -0500
commita5aea9654f3661254a90815a85067487647fbce9 (patch)
treec98d48a195cd410f774ebe3ec55c9c910b876911 /src/httpserver.cpp
parentMerge #14947: scripts: Remove Python 2 import workarounds (diff)
parenttest: Make g_insecure_rand_ctx thread_local (diff)
downloaddiscoin-a5aea9654f3661254a90815a85067487647fbce9.tar.xz
discoin-a5aea9654f3661254a90815a85067487647fbce9.zip
Merge #14953: test: Make g_insecure_rand_ctx thread_local
faead93c6c test: Make g_insecure_rand_ctx thread_local (MarcoFalke) Pull request description: Some tests might spin up several threads and `FastRandomContext` is not thread safe. Fix that by giving each thread their own randomness context (as opposed to e.g. making `FastRandomContext` thread safe or add locks elsewhere). Also, add the `g_` prefix to it (according to developer notes), since I am touching it anyway. Tree-SHA512: c6b61375636dfbb2f8311efe8b47e9fe7c4f8bee9804871243f877545f3117cb6aa8556a2d9b1d1673e46e2e585b695a8ddd235b746b583c3eab962435efe2d1
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions