显然,如果定义了__UCLIBC_HAS_THREADS__,malloc.h就会包含并声明互斥锁。http://git.uclibc.org/uClibc/tree/libc/stdlib/malloc/malloc.h#n133