golang runtime implement libc pthread_create, mutex, malloc. it doesn't use libc API, use OS syscall instead.
- malloc
- golang memory allocator:
src/runtime/malloc.go
- golang memory allocator os specific:
src/runtime/mem_bsd.go
sysAlloc()
usemmap()
syscall instead of libcmalloc()
- pthread_create