On Tuesday, 13 May 2014 at 17:37:05 UTC, Steven Schveighoffer wrote:
On Tue, 13 May 2014 13:36:17 -0400, Daniel Murphy <[email protected]> wrote:

"Steven Schveighoffer" wrote in message news:[email protected]...

If a thread is doing only reads, or is only touching non-Scanned memory, it continues.

How long do threads usually go without touching the stack?

The stack would have to be COW.

When you fork a process, all of its pages are COW. What you propose is much more complicated. You would either first need to fork(), then somehow remap certain pages as shared. The remapping would have to happen in the parent process. I don't know whether there are even interfaces to do this.

Reply via email to