[LCP]fork() doesn't forks a new process.

Carles Xavier Munyoz Baldó carles at descom.es
Wed Jan 8 18:13:01 UTC 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 07 January 2003 22:15, Steve Baker wrote:
> Carles Xavier Munyoz Bald <carles at descom.es> wrote:
> > I'm using the 3.2 version of the gcc compiler in a RedHat 8.0 Linux box
> > with the kernel 2.4.18-19.8.0.
>
>   Does this kernel have the reverse page mapping and copy on write page
> mappings patches applied to it perhaps?

I don't know. How could I know that ?


>   Where are you getting your information? ps?

Yes, I'm using 'ps -ef' and 'ps -efm' to see all the threads running in my 
system.


> > Is it possible to advoid this behavior (with a gcc option, or modifying
> > one of the /proc kernel parameters) ?
>
>   Is there some reason why it bothers you?  As the saying goes, if it ain't
> broke, don't fix it.

I'm using the kdevelop programming enviroment to develop my application. 
Kdevelop has a very usefull debug option "Attach to running process" that 
allows me the debugging of child processes of my concurrente server daemon, 
but only processes, not threads. 

Greetings.
- ---
Carles Xavier Munyoz Baldó
carles at descom.es
Descom Consulting
Telf: +34 965861024
Fax: +34 965861024
http://www.descom.es/
- ---
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQA/AwUBPhv5zTvYAf7VZNaaEQJkpACg9IWRwjVUTr3aJ+91ogqMqTbWzYwAoNaI
oGdBJ/+3dH/+eioCOvigFQQD
=Oi19
-----END PGP SIGNATURE-----





More information about the linuxCprogramming mailing list