delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/04/02/15:56:05

From: noer AT cygnus DOT com (Geoffrey Noer)
Subject: Crazy fork idea
2 Apr 1998 15:56:05 -0800 :
Message-ID: <199804022354.PAA00556.cygnus.cygwin32.developers@rtl.cygnus.com>
To: cygwin32-developers AT cygnus DOT com
Cc: noer AT cygnus DOT com (Geoffrey Noer)

I was reading the Win32 multi-threaded O'Reilly book and got a crazy
idea that may not be of benefit, but I'm not sure so I'll mention it.

We could use shared memory for information like fds and mark it copy
on write.  Then, when the parent process forks a child, the child
could just keep using the same shared memory until such a time as it
alters the information, at which time the OS would automatically
create a copy and have the child modify that instead.

Opinions?

-- 
Geoffrey Noer
noer AT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019