Tools/nativelib - Many features implimented
[tpg/acess2.git] / Tools / nativelib / semaphore.c
diff --git a/Tools/nativelib/semaphore.c b/Tools/nativelib/semaphore.c
new file mode 100644 (file)
index 0000000..c1476f6
--- /dev/null
@@ -0,0 +1,30 @@
+/*
+ * Acess2 libnative (Kernel Simulation Library)
+ * - By John Hodge (thePowersGang)
+ *
+ * semaphore.c
+ * - Acess semaphores
+ */
+#include <acess.h>
+#include <semaphore.h>
+
+// === CODE ===
+void Semaphore_Init(tSemaphore *Sem, int InitValue, int MaxValue, const char *Module, const char *Name)
+{
+
+}
+
+int Semaphore_Wait(tSemaphore *Sem, int MaxToTake)
+{
+       return 0;
+}
+
+int Semaphore_Signal(tSemaphore *Sem, int AmmountToAdd)
+{
+       return 0;
+}
+
+int Semaphore_GetValue(tSemaphore *Sem)
+{
+       return 0;
+}

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