view Isolated/SimpleMutex.h @ 52:53ee4253c925

merged
author Eric Wing <ewing@anscamobile.com>
date Wed, 18 Jan 2012 12:20:54 -0800
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