diff Isolated/SimpleMutex.h @ 38:71b465ff0622

Added support files.
author Eric Wing <ewing@anscamobile.com>
date Thu, 28 Apr 2011 16:22:30 -0700
parents
children 208a9ed20087
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Isolated/SimpleMutex.h	Thu Apr 28 16:22:30 2011 -0700
@@ -0,0 +1,25 @@
+/* Copyright: Eric Wing 2003 */
+
+#ifndef SIMPLE_MUTEX_H
+#define SIMPLE_MUTEX_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+	
+
+typedef struct SimpleMutex SimpleMutex;
+
+SimpleMutex* SimpleMutex_CreateMutex(void);
+void SimpleMutex_DestroyMutex(SimpleMutex* simple_mutex);
+int SimpleMutex_LockMutex(SimpleMutex* simple_mutex);
+void SimpleMutex_UnlockMutex(SimpleMutex* simple_mutex);
+
+
+/* Ends C function definitions when using C++ */
+#ifdef __cplusplus
+}
+#endif
+
+#endif
+