812 /* task state */
813 struct linux_binfmt *binfmt;
814 long exit_state;
815 int exit_code, exit_signal;
816 int pdeath_signal; /* The signal sent when the parent dies */
817 /* ??? */
818 unsigned long personality;
819 unsigned did_exec:1;
820 pid_t pid;
821 pid_t tgid;
以下是2.6.34版本的内核源代码中 /linux-2.6.34/include/linux/sched.h 中:1234:行:
1230 /* task state */
1231 int exit_state;
1232 int exit_code, exit_signal;
1233 int pdeath_signal; /* The signal sent when the parent dies */
1234 /* ??? */
1235 unsigned int personality;
1236 unsigned did_exec:1;作者: hellioncu 时间: 2010-06-08 16:27
没看到有 /* ??? */ 的注释,都好好的作者: Godbach 时间: 2010-06-08 16:48
嗯,标准内核代码中确实有作者: vermouth 时间: 2010-06-08 18:34
这段是注释吧?作者: xiexiecn 时间: 2010-06-09 07:48
这个不足为其吧,我自己觉得,这些注释说明作者代码(注释过的地方)还有点不确定,认为也许可以改进或者有待进一步测试。记得以前看tcpip详解卷二,上面有些代码还加了XXX注释的。这种特殊的注释也比较好找,以后有好的点子,只要搜索特定字符串就好了。