[yz@test ~]$ gcc -lpthread test.c -o test [yz@test ~]$ ./test main: 0x7fa5db0cb800 sub: 0x7fa5dabe5500