threading: add temporary semaphore aliases
This commit is contained in:
1 parent
7b816c4e00
commit
d870bc9451
1 file changed
+6
@@ -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
|
||||
Reference in new issue
Block a user