#define MSP_CORE_SEMAPHORE_H_
#include <msp/time/timedelta.h>
-#include "mutex.h"
+#include "noncopyable.h"
namespace Msp {
-class Semaphore
+class Semaphore: private NonCopyable
{
private:
struct Private;
- Private *priv;
+ Private *priv = 0;
public:
Semaphore(unsigned);