]> git.tdb.fi Git - libs/core.git/blobdiff - source/core/types.h
Assimilate exceptions and RefPtr from mspmisc
[libs/core.git] / source / core / types.h
index 729668978d1323aa7d9924eb3f04a3d30b2adb70..0dace5ace4daa5fd52826a5e0bf5c7a43f1fd395 100644 (file)
@@ -1,10 +1,11 @@
-/*
-This file is part of libmspframework
+/* $Id$
+
+This file is part of libmspcore
 Copyright © 2006  Mikko Rasa, Mikkosoft Productions
 Distributed under the LGPL
 */
-#ifndef MSP_FRAMEWORK_TYPES_H_
-#define MSP_FRAMEWORK_TYPES_H_
+#ifndef MSP_CORE_TYPES_H_
+#define MSP_CORE_TYPES_H_
 
 #ifdef WIN32
 #include <windows.h>
@@ -17,9 +18,11 @@ namespace Msp {
 #ifdef WIN32
 typedef HANDLE ThreadHandle;
 typedef HANDLE MutexHandle;
+typedef HANDLE SemaphoreHandle;
 #else
 typedef pthread_t ThreadHandle;
 typedef pthread_mutex_t MutexHandle;
+typedef pthread_cond_t SemaphoreHandle;
 #endif
 
 } // namespace Msp