shm

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2021 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clear

func Clear(name string) error

func Free

func Free(span *ShmSpan) error

Types

type ShmSpan

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

func Alloc

func Alloc(name string, size int) (*ShmSpan, error)

func NewShmSpan

func NewShmSpan(name string, data []byte) *ShmSpan

func (*ShmSpan) Alloc

func (s *ShmSpan) Alloc(size int) (uintptr, error)

func (*ShmSpan) Data

func (s *ShmSpan) Data() uintptr

func (*ShmSpan) Origin

func (s *ShmSpan) Origin() []byte

Jump to

Keyboard shortcuts

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