mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-02-09 02:59:31 +08: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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user