shm

package
v0.0.0-...-cb950d2 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

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