diff options
author | Chris Robinson <[email protected]> | 2011-05-29 03:28:34 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-05-29 03:28:34 -0700 |
commit | 884f668855cea624165653f212fbec016d017a59 (patch) | |
tree | 002ad06329dcd2f6f5fe03480d561c9a7321eb8a /Alc | |
parent | 2bbe9d1b1f2fe4b866f025eb268c5421342cba9a (diff) |
Uninline a couple more functions
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALc.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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 |