pthread_wip

This commit is contained in:
2017-10-16 10:28:24 +00:00
parent 0686959e93
commit f64c80da9a
18 changed files with 96 additions and 29 deletions

View File

@@ -215,10 +215,11 @@ static size_t malloc_pagemask;
#define ptr2idx(foo) \
(((size_t)(uintptr_t)(foo) >> malloc_pageshift)-malloc_origo)
#undef _MALLOC_LOCK /*LSC*/
#ifndef _MALLOC_LOCK
#define _MALLOC_LOCK()
#endif
#undef _MALLOC_UNLOCK /*LSC*/
#ifndef _MALLOC_UNLOCK
#define _MALLOC_UNLOCK()
#endif