version 0.1.3
[fms.git] / include / pthreadwrapper.h
diff --git a/include/pthreadwrapper.h b/include/pthreadwrapper.h
new file mode 100644 (file)
index 0000000..0fc6afe
--- /dev/null
@@ -0,0 +1,28 @@
+/**\r
+       Light C++ wrapper around PThreads\r
+*/\r
+\r
+#ifndef _pthread_wrapper_\r
+\r
+#include <pthread.h>\r
+\r
+namespace PThread\r
+{\r
+\r
+       // forward declarations\r
+       class NonCopyable;\r
+       class Mutex;\r
+       class Guard;\r
+       class Runnable;\r
+       class Thread;\r
+\r
+}      // namespace\r
+\r
+#include "pthreadwrapper/noncopyable.h"\r
+#include "pthreadwrapper/mutex.h"\r
+#include "pthreadwrapper/guard.h"\r
+#include "pthreadwrapper/runnable.h"\r
+#include "pthreadwrapper/thread.h"\r
+#include "pthreadwrapper/singleton.h"\r
+\r
+#endif // _pthread_wrapper_\r