X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Fcore%2Fsemaphore.h;h=28c3b3d72cb8f009fd4474cfa73ab586db1a1d02;hp=627c91894a27db34f2ee23e78f1ed23a2321d6c0;hb=HEAD;hpb=967785734be5c3fc6f75da122c2d93ebbb338271 diff --git a/source/core/semaphore.h b/source/core/semaphore.h index 627c918..f504289 100644 --- a/source/core/semaphore.h +++ b/source/core/semaphore.h @@ -1,17 +1,18 @@ #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);