fix red.
[kugel-rb/myfork.git] / apps / plugins / pdbox / TLSF-2.4.4 / 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