QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3160|回复: 3

do_fork函数问题!

[复制链接]
发表于 2006-2-9 10:15:38 | 显示全部楼层 |阅读模式
do_fork函数的参数parent_tidptr,child_tidptr是什么意思?有什么作用?
发表于 2006-2-14 08:48:41 | 显示全部楼层
如果在linux系统下man gettid会出现如下信息。希望有帮助
----------------------------
gettid  returns  the thread ID of the current process. This is equal to
       the process ID (as returned by getpid(2)), unless the process  is  part
       of  a  thread group (created by specifying the CLONE_THREAD flag to the
       clone(2) system call). All processes in the same thread group have  the
       same PID, but each one has a unique TID.
------------------------------
回复

使用道具 举报

发表于 2006-2-20 16:41:55 | 显示全部楼层
情景分析有详细描述
回复

使用道具 举报

发表于 2006-5-24 14:37:25 | 显示全部楼层
楼主的理论知识要加强,不要重心与代码中,要平均点。(共同学习)
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-9-28 02:05 , Processed in 0.042401 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表