X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fcore%2Fsemaphore.h;h=28c3b3d72cb8f009fd4474cfa73ab586db1a1d02;hp=3f2cc974a455855c35246f7abc10d12d1993e709;hb=HEAD;hpb=a1d6fa071280123f282c1bac3b68008672401024 diff --git a/source/core/semaphore.h b/source/core/semaphore.h index 3f2cc97..f504289 100644 --- a/source/core/semaphore.h +++ b/source/core/semaphore.h @@ -1,24 +1,18 @@ -/* $Id$ - -This file is part of libmspcore -Copyright © 2006 Mikko Rasa, Mikkosoft Productions -Distributed under the LGPL -*/ - #ifndef MSP_CORE_SEMAPHORE_H_ #define MSP_CORE_SEMAPHORE_H_ -#include "mutex.h" -#include "../time/timedelta.h" +#include +#include "mspcore_api.h" +#include "noncopyable.h" namespace Msp { -class Semaphore +class MSPCORE_API Semaphore: private NonCopyable { private: struct Private; - Private *priv; + Private *priv = nullptr; public: Semaphore(unsigned);