File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -301,9 +301,6 @@ inline MutexType* MaybeCheckNotHeld(MutexType* m) LOCKS_EXCLUDED(m) LOCK_RETURNE
301
301
// ! gcc and the -Wreturn-stack-address flag in clang, both enabled by default.
302
302
#define WITH_LOCK (cs, code ) (MaybeCheckNotHeld(cs), [&]() -> decltype (auto ) { LOCK (cs); code; }())
303
303
304
- using BinarySemaphore = std::binary_semaphore;
305
- using Semaphore = std::counting_semaphore<>;
306
-
307
304
/* * RAII-style semaphore lock */
308
305
template <std::ptrdiff_t LeastMaxValue = std::counting_semaphore<>::max()>
309
306
class CountingSemaphoreGrant
@@ -385,6 +382,5 @@ class CountingSemaphoreGrant
385
382
};
386
383
387
384
using BinarySemaphoreGrant = CountingSemaphoreGrant<1 >;
388
- using SemaphoreGrant = CountingSemaphoreGrant<>;
389
385
390
386
#endif // BITCOIN_SYNC_H
You can’t perform that action at this time.
0 commit comments