Prepare new maemo release
[maemo-rb.git] / lib / tlsf / src / target.h
blob1afd62aef20978e7fb998d11be68266fb834f062
1 #ifndef _TARGET_H_
2 #define _TARGET_H_
4 #include <pthread.h>
6 #define TLSF_MLOCK_T pthread_mutex_t
7 #define TLSF_CREATE_LOCK(l) pthread_mutex_init (l, NULL)
8 #define TLSF_DESTROY_LOCK(l) pthread_mutex_destroy(l)
9 #define TLSF_ACQUIRE_LOCK(l) pthread_mutex_lock(l)
10 #define TLSF_RELEASE_LOCK(l) pthread_mutex_unlock(l)
12 #endif