Tools/nativelib - More things implimented
[tpg/acess2.git] / Tools / nativelib / include / shortlock.h
diff --git a/Tools/nativelib/include/shortlock.h b/Tools/nativelib/include/shortlock.h
new file mode 100644 (file)
index 0000000..f050eb6
--- /dev/null
@@ -0,0 +1,17 @@
+/*
+ * Acess2 native library
+ * - By John Hodge (thePowersGang)
+ *
+ * shortlock.h
+ * - Short locks :)
+ */
+#ifndef _SHORTLOCK_H_
+#define _SHORTLOCK_H_
+
+typedef void   *tShortSpinlock;
+
+extern void    SHORTLOCK(tShortSpinlock *Lock);
+extern void    SHORTREL(tShortSpinlock *m);
+extern int     CPU_HAS_LOCK(tShortSpinlock *m);
+
+#endif

UCC git Repository :: git.ucc.asn.au