This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mmap() on 64K aligned address fails


Samuel Thibault wrote:
[snip]
> Memmapping to malloced memory could very well be forbidden. Why would
> one want to do this?

As I said before, the test is one that comes with gcc-4.0.2, it fails only on
Windows as far as I know.  To answer your question: is just a test, it should
work with some Windows related tweaking but it's just a test.

Besides, what other memory is there available that a process has under its
control?  Yes, I know, mmap() should be used w/o MAP_FIXED and let the OS choose
where to map, but the interesting part of this test is to use MAP_FIXED.
-- 
René Berber


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]