mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-10-10 19:43:13 +02:00
[index] Allow TxIndex sync thread to be interrupted.
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
|
||||
#include <threadinterrupt.h>
|
||||
|
||||
CThreadInterrupt::CThreadInterrupt() : flag(false) {}
|
||||
|
||||
CThreadInterrupt::operator bool() const
|
||||
{
|
||||
return flag.load(std::memory_order_acquire);
|
||||
|
Reference in New Issue
Block a user