Article View: comp.lang.c++
Article #407Re: Re: what's a process, was The end of software secrecy is almost upon
From: boltar
Date: Mon, 26 Oct 2026 09:57
Date: Mon, 26 Oct 2026 09:57
19 lines
2040 bytes
2040 bytes
On Sun, 25 Oct 2026 18:17:44 -0000 (UTC) John Levine <johnl@taugh.com> gabbled: >According to <boltar@caprica.universe>: >>>Threads share resources such as address space, files, etc. A process >>>runs in its own address space. (at least these days, before virtual >>>memory, who knows?) >> >>With copy-on-write process models the actual difference is a bit less >>clear cut. > >Copy-on-write (or on some older systems copy-on-touch) is an implementation >detail. Neither process can look inside the other even if they share some >unwritten or untouched pages. The point is they are sharing memory. In a reference implementation processes don't share any virtual memory at all - everything is copied to a new location at fork - so you can't use sharing memory as a way to demarcate multithreading and multiprocess.
Technical Details
Message-ID:
<11bn86h$11hpa$1@dont-email.me>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<11amvre$15far$1@dont-email.me> <11bin3i$ma9$1@reader2.panix.com> <11bj08r$309uk$1@dont-email.me> <11bkfe7$2pasn$1@dont-email.me> <11blh48$1sk$1@gal.iecc.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: boltar@caprica.universe Newsgroups: comp.lang.c++,alt.folklore.computers Subject: Re: Re: what's a process, was The end of software secrecy is almost upon Date: Mon, 26 Oct 2026 09:57:37 -0000 (UTC) Organization: A noiseless patient Spider Lines: 19 Message-ID: <11bn86h$11hpa$1@dont-email.me> References: <11amvre$15far$1@dont-email.me> <11bin3i$ma9$1@reader2.panix.com> <11bj08r$309uk$1@dont-email.me> <11bkfe7$2pasn$1@dont-email.me> <11blh48$1sk$1@gal.iecc.com> Content-Type: text/plain; charset=utf-8 Injection-Date: Mon, 26 Oct 2026 09:57:38 +0000 (UTC) Injection-Info: dont-email.me; logging-data="1099562"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Vz+2fgAOhPQENylSPoJ1C"; posting-host="60c3073eb060f98052890567c07d1963" Cancel-Lock: sha1:MBnsWPs1+tAC87r4cBAiONn2occ= sha256:31xYPcW40tTcZJpxh4vTvvbwswqDma6do+bQzzAt+cE= sha1:imN4y0FeC2mbiWArHkxiG/Fej4Q= sha256:NTVtZForhCygo4B8Hc5oarZ4N4ycd7XgmL3a7JWTxss=