do_fork函数问题!
do_fork函数的参数parent_tidptr,child_tidptr是什么意思?有什么作用? 如果在linux系统下man gettid会出现如下信息。希望有帮助----------------------------
gettidreturnsthe thread ID of the current process. This is equal to
the process ID (as returned by getpid(2)), unless the processispart
ofathread group (created by specifying the CLONE_THREAD flag to the
clone(2) system call). All processes in the same thread group havethe
same PID, but each one has a unique TID.
------------------------------ 情景分析有详细描述 楼主的理论知识要加强,不要重心与代码中,要平均点。(共同学习)
页:
[1]