参考文章:
https://blog.csdn.net/zhllxt/article/details/80527941
1)syscall() 2)getpid() getttid() 3)std::thread::this_thread::get_id()