Skip to content

Commit d870bc9

Browse files
committed
threading: add temporary semaphore aliases
1 parent 7b816c4 commit d870bc9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/sync.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,9 @@ class CSemaphore
348348
}
349349
};
350350

351+
using BinarySemaphore = CSemaphore;
352+
using Semaphore = CSemaphore;
353+
351354
/** RAII-style semaphore lock */
352355
class CSemaphoreGrant
353356
{
@@ -427,4 +430,7 @@ class CSemaphoreGrant
427430
}
428431
};
429432

433+
using BinarySemaphoreGrant = CSemaphoreGrant;
434+
using SemaphoreGrant = CSemaphoreGrant;
435+
430436
#endif // BITCOIN_SYNC_H

0 commit comments

Comments
 (0)