博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
thread 的gettid和pthread_self區别(TODO)
阅读量:4285 次
发布时间:2019-05-27

本文共 107 字,大约阅读时间需要 1 分钟。

  • gettid是内核中的线程的ID, pthread_self是POSIX thread ID
  • POSIX thread ID 是POSIX 标准的,所有遵循POSIX标准的系统都支持,gettid是linux独有的

转载地址:http://txsgi.baihongyu.com/

你可能感兴趣的文章