示例#1
0
 internal static extern int FileTruncate(SharedMemorySafeHandle handle, long length);
        private SharedMemoryMapView(IntPtr sharedMemoryFd, ulong sharedMemorySize)
        {
            sharedMemoryHandle = new SharedMemorySafeHandle(sharedMemoryFd);

            CreateMemoryMap(sharedMemorySize);
        }
示例#3
0
 internal static extern IntPtr MapMemory(IntPtr address, ulong length, ProtFlags protFlags, MapFlags mapFlags, SharedMemorySafeHandle handle, long offset);