bug-hurd
[Top][All Lists]
Advanced

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

Re: What happens to mappings when closing file?


From: Samuel Thibault
Subject: Re: What happens to mappings when closing file?
Date: Sun, 4 Apr 2010 12:43:51 +0200
User-agent: Mutt/1.5.12-2006-07-14

olafBuddenhagen@gmx.net, le Sat 03 Apr 2010 17:38:01 +0200, a écrit :
> the proxy objects are used so the same pager can be provided to
> several clients mapping the same file, but with different permissions?

Yes.

> But if several clients share a pager, doesn't that mean there is no way
> to shut down an individual client's mapping when the client closes the
> file?

Mmm, could you be more precise?

For instance,
fd = open("foo", ...)
c = mmap(fd);
close(fd);

is supposed to keep c mapped.  I don't know if that is the case you are
wondering about.

Samuel




reply via email to

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