2 * Acess2 libnative (Kernel Simulation Library)
3 * - By John Hodge (thePowersGang)
12 TODO:: Rework kernel-land semaphore code to use events
13 - Allows it to be used here and be tested easier
17 void Semaphore_Init(tSemaphore *Sem, int InitValue, int MaxValue, const char *Module, const char *Name)
22 int Semaphore_Wait(tSemaphore *Sem, int MaxToTake)
27 int Semaphore_Signal(tSemaphore *Sem, int AmmountToAdd)
32 int Semaphore_GetValue(tSemaphore *Sem)