阅读背景:

gettid 和 pthread_self 的区别

来源:互联网 
  • gettid
    • gettid() is a system call. As for as I know there is no glibc wrapper for gettid. You need to invoke gettid() using syscall(). The following code works for me.gettid() is a system call.




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: