DoubleLi

qq: 517712484 wx: ldbgliet

  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 :: 管理 ::

2021年4月28日

摘要: #include <stdio.h> #include <pthread.h> #include <sys/types.h> #include <sys/syscall.h> struct message { int i; int j; }; void *hello(struct message * 阅读全文
posted @ 2021-04-28 13:41 DoubleLi 阅读(315) 评论(0) 推荐(0)

摘要: 在Linux的top和ps命令中,默认看到最多的是pid (process ID),也许你也能看到lwp (thread ID)和tgid (thread group ID for the thread group leader)等等,而在Linux库函数和系统调用里也许你注意到了pthread i 阅读全文
posted @ 2021-04-28 10:39 DoubleLi 阅读(598) 评论(0) 推荐(0)