1
0
Fork 0
forked from len0rd/rockbox

tlsf: move to /lib (it's also used by plugins).

Change-Id: I5e37b28c1ce4608d60b036343f280af3311ad490
This commit is contained in:
Thomas Martitz 2012-03-27 16:27:02 +02:00
parent 9f2ee2f21a
commit c56950ea3a
16 changed files with 26 additions and 27 deletions

12
lib/tlsf/src/target.h Normal file
View file

@ -0,0 +1,12 @@
#ifndef _TARGET_H_
#define _TARGET_H_
#include <pthread.h>
#define TLSF_MLOCK_T pthread_mutex_t
#define TLSF_CREATE_LOCK(l) pthread_mutex_init (l, NULL)
#define TLSF_DESTROY_LOCK(l) pthread_mutex_destroy(l)
#define TLSF_ACQUIRE_LOCK(l) pthread_mutex_lock(l)
#define TLSF_RELEASE_LOCK(l) pthread_mutex_unlock(l)
#endif