wallet: change the write semaphore to a BinarySemaphore
Follow-up commits will make a distinction between Semaphore and BinarySemaphore.
This commit is contained in:
1 parent
6790ad27f1
commit
793166d381
1 file changed
+1
-1
+1
-1
@@ -127,7 +127,7 @@ public:
|
|||||||
|
|
||||||
// Batches must acquire this semaphore on writing, and release when done writing.
|
// 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.
|
// 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);
|
bool Verify(bilingual_str& error);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user