mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-26 15:50:00 -06:00
Split networking code into its own target (#2091)
This commit is contained in:
@ -256,6 +256,9 @@ Semaphore* Semaphore_Create();
|
||||
void Semaphore_Free(Semaphore* sema);
|
||||
void Semaphore_Reset(Semaphore* sema);
|
||||
void Semaphore_Wait(Semaphore* sema);
|
||||
/// Waits for the semaphore to be signaled, or until the timeout (in milliseconds) expires.
|
||||
/// If the timeout is 0, then don't wait; return immediately if the semaphore is not signaled.
|
||||
bool Semaphore_TryWait(Semaphore* sema, int timeout_ms = 0);
|
||||
void Semaphore_Post(Semaphore* sema, int count = 1);
|
||||
|
||||
struct Mutex;
|
||||
|
Reference in New Issue
Block a user