[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Another alternative string representation proposal

From: Keisuke Nishida
Subject: Re: Another alternative string representation proposal
Date: 25 Sep 2000 20:23:55 -0400
User-agent: T-gnus/6.14.4 (based on Gnus v5.8.6) (revision 02) SEMI/1.13.7 (Awazu) Chao/1.14.0 (Momoyama) Emacs/20.7 (i686-pc-linux-gnu) MULE/4.1 (AOI)

address@hidden (Carl R. Witty) writes:

> > If you modify mmap'ed memory, it is copied anyway, isn't it?  And we'd
> > like to use shared mapping rather than private mapping, right?  I think
> > mmap'ed memory should be read-only.
> You can use mmap'ed memory for inter-process communication, or for
> read-write access to a file (a database, say).  In those cases you
> want a shared writable mapping.

But I don't think anyone wants to use shared writable memory for strings.
So, as you say, probably one should define a special type if one want to
use mmap for such a purpose.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]