windows

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateSharedMemory

func CreateSharedMemory(key string, size uint) (shm.SharedMemory, error)

https://docs.microsoft.com/en-us/windows/win32/memory/creating-named-shared-memory CreateSharedMemory used to create or open existing

Types

type SharedMemorySegment

type SharedMemorySegment struct {
	// contains filtered or unexported fields
}

func (*SharedMemorySegment) Clear

func (shm *SharedMemorySegment) Clear()

Clear by behaviour is similar to the std::memset(..., 0, ...)

func (*SharedMemorySegment) Detach

func (shm *SharedMemorySegment) Detach() error

Detach used to detach from memory segment

func (*SharedMemorySegment) Read

func (shm *SharedMemorySegment) Read(data []byte) error

Read data segment. Attention, the segment to read will be equal to data function arg len

func (*SharedMemorySegment) Write

func (shm *SharedMemorySegment) Write(data []byte)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL