由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Linux版 - in what case you still want to use process instead of thread in linux ?
相关主题
Process and ThreadAny detailed instruction to remote debug shared library in QtCreator in Linux ?
how to step over a line in code with gdb?OpenMP 求救。。。 (转载)
如何确保多线程程序在 multicore server 用所有 corefirefox 3.5b4 is good
job scheduling questionData Display Debugger
Development environment under Linux对了,关于debugger
SAS在Linux环境下运行太难debug了求助,安装PERL 5.8.8 (www.cpan.org)到红帽AS4
Linux is a bastard请问如何在Ububtu9.04安装online manual (e.g. man pthread_exit)
build image with debug info, can you build the debug symbol only ?怎样安装java* JRE
相关话题的讨论汇总
话题: linux话题: process话题: thread话题: same话题: use
进入Linux版参与讨论
1 (共1页)
w*s
发帖数: 7227
1
ppl are saying they are the same in linux
m**k
发帖数: 290
2
they are not the same thing.
In old Unix, creating a new process is much more expensive than creating a
new thread, because the child process needs to copy parent's address space.
In modern Linux, fork() uses copy on write, and thus has similar performance
to pthread_create(). Plus they use the same syscall clone().
w*s
发帖数: 7227
3
for debugging purpose, if you have 2 processes with same name, will that be
harder ?

performance

【在 m**k 的大作中提到】
: they are not the same thing.
: In old Unix, creating a new process is much more expensive than creating a
: new thread, because the child process needs to copy parent's address space.
: In modern Linux, fork() uses copy on write, and thus has similar performance
: to pthread_create(). Plus they use the same syscall clone().

m**k
发帖数: 290
4
what kind of debugging?
normally you provide pid to the debugger.

be

【在 w*s 的大作中提到】
: for debugging purpose, if you have 2 processes with same name, will that be
: harder ?
:
: performance

1 (共1页)
进入Linux版参与讨论
相关主题
怎样安装java* JREDevelopment environment under Linux
Chrome for Linux (beta)SAS在Linux环境下运行太难debug了
问个rpy2的问题Linux is a bastard
Pthread一个牵涉两个线程同步,每轮先串行后并行的问题build image with debug info, can you build the debug symbol only ?
Process and ThreadAny detailed instruction to remote debug shared library in QtCreator in Linux ?
how to step over a line in code with gdb?OpenMP 求救。。。 (转载)
如何确保多线程程序在 multicore server 用所有 corefirefox 3.5b4 is good
job scheduling questionData Display Debugger
相关话题的讨论汇总
话题: linux话题: process话题: thread话题: same话题: use