threading: add temporary semaphore aliases

This commit is contained in:
Cory Fields
2025-05-08 18:30:04 +00:00
parent 7b816c4e00
commit d870bc9451

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