From 884f668855cea624165653f212fbec016d017a59 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 29 May 2011 03:28:34 -0700 Subject: Uninline a couple more functions --- Alc/ALc.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Alc/ALc.c') diff --git a/Alc/ALc.c b/Alc/ALc.c index f3dcee39..3c547d4a 100644 --- a/Alc/ALc.c +++ b/Alc/ALc.c @@ -1049,6 +1049,18 @@ void DeleteCriticalSection(CRITICAL_SECTION *cs) ret = pthread_mutex_destroy(cs); assert(ret == 0); } +void EnterCriticalSection(CRITICAL_SECTION *cs) +{ + int ret; + ret = pthread_mutex_lock(cs); + assert(ret == 0); +} +void LeaveCriticalSection(CRITICAL_SECTION *cs) +{ + int ret; + ret = pthread_mutex_unlock(cs); + assert(ret == 0); +} #endif -- cgit v1.2.3