threading: add temporary semaphore aliases

This commit is contained in:
Cory Fields committed 2025-05-10 00:53:00 +00:00
1 parent 7b816c4e00
commit d870bc9451
1 file changed
+6
+6
View File
@@ -348,6 +348,9 @@ public:
}
};
using BinarySemaphore = CSemaphore;
using Semaphore = CSemaphore;
/** RAII-style semaphore lock */
class CSemaphoreGrant
{
@@ -427,4 +430,7 @@ public:
}
};
using BinarySemaphoreGrant = CSemaphoreGrant;
using SemaphoreGrant = CSemaphoreGrant;
#endif // BITCOIN_SYNC_H