2021年10月28日
摘要: 1.gettid 和 pthread_self 的区别 pthread_self()是POSIX的实现,它的返回值是pthread_t,pthread_t在linux中实际是无符号长整型,即unsigned long。gettid是系统调用,它的返回值是pid_t,在linux上是一个无符号整型。p 阅读全文
posted @ 2021-10-28 12:14 Clapton 阅读(393) 评论(0) 推荐(0)