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
301301// ! gcc and the -Wreturn-stack-address flag in clang, both enabled by default.
302302#define WITH_LOCK (cs, code ) (MaybeCheckNotHeld(cs), [&]() -> decltype (auto ) { LOCK (cs); code; }())
303303
304- using BinarySemaphore = std::binary_semaphore;
305- using Semaphore = std::counting_semaphore<>;
306-
307304/* * RAII-style semaphore lock */
308305template <std::ptrdiff_t LeastMaxValue = std::counting_semaphore<>::max()>
309306class CountingSemaphoreGrant
@@ -385,6 +382,5 @@ class CountingSemaphoreGrant
385382};
386383
387384using BinarySemaphoreGrant = CountingSemaphoreGrant<1 >;
388- using SemaphoreGrant = CountingSemaphoreGrant<>;
389385
390386#endif // BITCOIN_SYNC_H
You can’t perform that action at this time.
0 commit comments