mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-02-12 16:41:46 +00:00
wallet: change the write semaphore to a BinarySemaphore
Follow-up commits will make a distinction between Semaphore and BinarySemaphore.
This commit is contained in:
parent
6790ad27f1
commit
793166d381
@ -127,7 +127,7 @@ public:
|
||||
|
||||
// Batches must acquire this semaphore on writing, and release when done writing.
|
||||
// This ensures that only one batch is modifying the database at a time.
|
||||
CSemaphore m_write_semaphore;
|
||||
BinarySemaphore m_write_semaphore;
|
||||
|
||||
bool Verify(bilingual_str& error);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user