Commit 5b444592 authored by David Reid's avatar David Reid

Remove some unused functions.

parent 6cb7c48e
...@@ -1303,11 +1303,6 @@ void mal_sleep__win32(mal_uint32 milliseconds) ...@@ -1303,11 +1303,6 @@ void mal_sleep__win32(mal_uint32 milliseconds)
Sleep((DWORD)milliseconds); Sleep((DWORD)milliseconds);
} }
void mal_yield__win32()
{
SwitchToThread();
}
mal_bool32 mal_mutex_create__win32(mal_mutex* pMutex) mal_bool32 mal_mutex_create__win32(mal_mutex* pMutex)
{ {
...@@ -1378,11 +1373,6 @@ void mal_sleep__posix(mal_uint32 milliseconds) ...@@ -1378,11 +1373,6 @@ void mal_sleep__posix(mal_uint32 milliseconds)
usleep(milliseconds * 1000); // <-- usleep is in microseconds. usleep(milliseconds * 1000); // <-- usleep is in microseconds.
} }
void mal_yield__posix()
{
sched_yield();
}
mal_bool32 mal_mutex_create__posix(mal_mutex* pMutex) mal_bool32 mal_mutex_create__posix(mal_mutex* pMutex)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment