process & thread语术
感觉linux到了2.4以后,对于process和thread的定义还是有点混淆。不知道是不是我的理解有问题。
一个进程里含有内核级多线程,每个线程都有自己的pid,但是通过tgid来控制。
将pid作为一种资源,我觉得linux内核线程有占有这种资源的能力,但是从POSIX标准
而言,thread不应该具有这种能力呀.....迷惑.... hehe, yes. i feel that the process and thread here are not the same as the ones we learned from os book. 是呀,感觉这点FreeBSD5.x的process和thread关系更符合POSIX标准。 but i believe posix do not define kernel thread and process. it is a point of view from user space. so if user space is ok, then ok.
页:
[1]