aboutsummaryrefslogtreecommitdiff
path: root/src/validation.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2018-02-08 08:53:40 +0100
committerWladimir J. van der Laan <[email protected]>2018-02-08 09:21:49 +0100
commit6db4fa7ad32985cf85c903966be69972bcb6b1d0 (patch)
tree8956e18e8799233882ba31a01ad5c3358a3e6a3a /src/validation.cpp
parentMerge #12374: qt: Make sure splash screen is freed on AppInitMain fail (diff)
parenthttp: Remove numThreads and ThreadCounter (diff)
downloaddiscoin-6db4fa7ad32985cf85c903966be69972bcb6b1d0.tar.xz
discoin-6db4fa7ad32985cf85c903966be69972bcb6b1d0.zip
Merge #12366: http: Join worker threads before deleting work queue
11e0151 http: Remove numThreads and ThreadCounter (Wladimir J. van der Laan) f946654 http: Remove WaitExit from WorkQueue (Wladimir J. van der Laan) b1c2370 http: Join worker threads before deleting work queue (Wladimir J. van der Laan) Pull request description: This prevents a potential race condition if control flow ends up in `ShutdownHTTPServer` before the thread gets to `queue->Run()`, deleting the work queue while workers are still going to use it. Meant to fix #12362. Tree-SHA512: 8108514aeee5b2067a3736ed028014b580d1cbf8530ac7682b8a23070133dfa1ca21db4358c9158ea57e8811e0551395b6cb769887876b9cfce067ee968d0642
Diffstat (limited to 'src/validation.cpp')
0 files changed, 0 insertions, 0 deletions