Usermode/libaxwin4 - Handle demarshal failure
[tpg/acess2.git] / Tools / nativelib / semaphore.c
1 /*
2  * Acess2 libnative (Kernel Simulation Library)
3  * - By John Hodge (thePowersGang)
4  *
5  * semaphore.c
6  * - Acess semaphores
7  */
8 #include <acess.h>
9 #include <semaphore.h>
10
11 #if 0
12 TODO:: Rework kernel-land semaphore code to use events
13 - Allows it to be used here and be tested easier
14 #endif
15
16 // === CODE ===
17 void Semaphore_Init(tSemaphore *Sem, int InitValue, int MaxValue, const char *Module, const char *Name)
18 {
19
20 }
21
22 int Semaphore_Wait(tSemaphore *Sem, int MaxToTake)
23 {
24         return 0;
25 }
26
27 int Semaphore_Signal(tSemaphore *Sem, int AmmountToAdd)
28 {
29         return 0;
30 }
31
32 int Semaphore_GetValue(tSemaphore *Sem)
33 {
34         return 0;
35 }

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