Mercurial > almixer_isolated
comparison Isolated/SimpleMutex.h @ 38:71b465ff0622
Added support files.
author | Eric Wing <ewing@anscamobile.com> |
---|---|
date | Thu, 28 Apr 2011 16:22:30 -0700 |
parents | |
children | 208a9ed20087 |
comparison
equal
deleted
inserted
replaced
37:b346b6608eab | 38:71b465ff0622 |
---|---|
1 /* Copyright: Eric Wing 2003 */ | |
2 | |
3 #ifndef SIMPLE_MUTEX_H | |
4 #define SIMPLE_MUTEX_H | |
5 | |
6 #ifdef __cplusplus | |
7 extern "C" { | |
8 #endif | |
9 | |
10 | |
11 typedef struct SimpleMutex SimpleMutex; | |
12 | |
13 SimpleMutex* SimpleMutex_CreateMutex(void); | |
14 void SimpleMutex_DestroyMutex(SimpleMutex* simple_mutex); | |
15 int SimpleMutex_LockMutex(SimpleMutex* simple_mutex); | |
16 void SimpleMutex_UnlockMutex(SimpleMutex* simple_mutex); | |
17 | |
18 | |
19 /* Ends C function definitions when using C++ */ | |
20 #ifdef __cplusplus | |
21 } | |
22 #endif | |
23 | |
24 #endif | |
25 |