48#ifndef RIPPLE_CORE_SEMAPHORE_H_INCLUDED 
   49#define RIPPLE_CORE_SEMAPHORE_H_INCLUDED 
   56template <
class Mutex, 
class CondVar>
 
void wait()
Block until notify is called.
 
basic_semaphore(size_type count=0)
Create the semaphore, with an optional initial count.
 
bool try_wait()
Perform a non-blocking wait.
 
void notify()
Increment the count and unblock one waiting thread.
 
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.