获取线程id()

参考文章:

  https://blog.csdn.net/zhllxt/article/details/80527941

  1)syscall() 2)getpid() getttid() 3)std::thread::this_thread::get_id()

posted @ 2020-09-01 19:22  糖糖_彭  阅读(294)  评论(0编辑  收藏  举报