mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-18 17:02:10 -10:00
* MemoryMappedFile.cs: Make this by default use the native
interface (Mono.Unix.Native.Syscall) to map files and only support
the FileStream.Handle when the user explicitly uses this API.
The reason is that currently the code depends on the io-layer
keeping parity between our handles and Unix file descriptors, this
removes this dependency for most cases.
svn path=/trunk/mcs/; revision=148366
46 lines
1.4 KiB
Plaintext
46 lines
1.4 KiB
Plaintext
2009-12-14 Miguel de Icaza <[email protected]>
|
|
|
|
* MemoryMappedFile.cs: Make this by default use the native
|
|
interface (Mono.Unix.Native.Syscall) to map files and only support
|
|
the FileStream.Handle when the user explicitly uses this API.
|
|
|
|
The reason is that currently the code depends on the io-layer
|
|
keeping parity between our handles and Unix file descriptors, this
|
|
removes this dependency for most cases.
|
|
|
|
2009-12-13 Miguel de Icaza <[email protected]>
|
|
|
|
* MemoryMappedViewAccessor.cs: Derive from
|
|
UnmanagedMemoryAccessor, remove explicit IDisposable inheritance.
|
|
(CreatePosix): Call Initialize on the base class to initialize.
|
|
(Dispose): Kill methods.
|
|
(Flush): Add.
|
|
(MapPosix): no need to return out mmap_size, it is always size.
|
|
|
|
* MemoryMappedFile.cs: Add FlushPosix.
|
|
|
|
* MemoryMappedViewStream.cs: Update API.
|
|
|
|
2009-12-10 Miguel de Icaza <[email protected]>
|
|
|
|
* MemoryMappedFile.cs: Updated to the new Beta API, fill in some
|
|
blanks, map some new flags, obey some settings, throw some
|
|
exceptions.
|
|
|
|
2009-09-05 Zoltan Varga <[email protected]>
|
|
|
|
* MemoryMappedViewAccessor.cs: New net 4.0 class.
|
|
|
|
* MemoryMappedViewStream.cs: Move the mmap code to MemoryMappedFile.cs,
|
|
so it can be used by ViewAccessor as well.
|
|
|
|
2009-08-30 Zoltan Varga <[email protected]>
|
|
|
|
* MemoryMappedViewStream.cs: Implement this for unix.
|
|
|
|
2009-08-29 Zoltan Varga <[email protected]>
|
|
|
|
* MemoryMapped*.cs: New files, stubs for the new MemoryMappedFile
|
|
apis in net 4.0.
|
|
|