diff options
author | Suhas Daftuar <sdaftuar@gmail.com> | 2015-01-28 13:48:36 -0500 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-02-23 19:34:24 +0100 |
commit | d148f62e00612fdd9aa44aa1d891b03e131918c8 (patch) | |
tree | 6868c104f50517a1109d399035662bc343415271 /src/chain.cpp | |
parent | 7f502be2598af1cbe5b04776985e0da9bcaebe21 (diff) | |
download | bitcoin-d148f62e00612fdd9aa44aa1d891b03e131918c8.tar.xz |
Acquire CCheckQueue's lock to avoid race condition
This fixes a potential race condition in the CCheckQueueControl constructor,
which was looking directly at data in CCheckQueue without acquiring its lock.
Remove the now-unnecessary friendship for CCheckQueueControl
Rebased-From: cf008ac8c3c5d582562d88ad89020daef3e64dcb
Github-Pull: #5721
Diffstat (limited to 'src/chain.cpp')
0 files changed, 0 insertions, 0 deletions