delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1998/04/08/20:00:35

From: mike AT mbsun DOT mlb DOT org (Mike Bernson)
Subject: Malloc/Free for shared memory pool
8 Apr 1998 20:00:35 -0700 :
Message-ID: <352C3709.E0FD32BB.cygnus.cygwin32.developers@mbsun.mlb.org>
Mime-Version: 1.0
To: "cygwin32-developers AT cygnus DOT com" <cygwin32-developers AT cygnus DOT com>

I have a number of changes that put the File descriptors into shared
memory.

Do people on this is think it is a good idea to put file descriptors in
shared
memory instead of local memory.  This change also stoped the coping
and  most of the working in fork dealing with filedescriptors.

Do people on this list like the idea of memory allocation for the the
shared
memory area.  I have malloc/free for shared memory area. This allow me
to
remove fixed limits on a number of table used in the shared memory area.
I
can now allocate memory from a fixed shared memory pool area.

The shared memory code has been used on WIN95 only. The notes in the
source that state the memory can not be shared at the same address under

windows  95 is false. All memory shared must be at the same address
under
Window 95.

If the list thinks that this is a good idea I will start by make patches
from
the current source  for added malloc/free of shared memory area. After
that
I can start to move the code for shared fhandler  into B19.

Please give me feedback on  this.


- Raw text -


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