Mercurial > almixer_isolated
view Isolated/SimpleMutex.h @ 40:2b0b55b7f8cf
Resync to get interruption changes.
author | Eric Wing <ewing@anscamobile.com> |
---|---|
date | Fri, 19 Aug 2011 12:36:50 -0700 |
parents | 71b465ff0622 |
children | 208a9ed20087 |
line wrap: on
line source
/* Copyright: Eric Wing 2003 */ #ifndef SIMPLE_MUTEX_H #define SIMPLE_MUTEX_H #ifdef __cplusplus extern "C" { #endif typedef struct SimpleMutex SimpleMutex; SimpleMutex* SimpleMutex_CreateMutex(void); void SimpleMutex_DestroyMutex(SimpleMutex* simple_mutex); int SimpleMutex_LockMutex(SimpleMutex* simple_mutex); void SimpleMutex_UnlockMutex(SimpleMutex* simple_mutex); /* Ends C function definitions when using C++ */ #ifdef __cplusplus } #endif #endif