shm

package
v0.1.17 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2021 License: Apache-2.0 Imports: 7 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 *Span) error

Types

type Span

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

func Alloc

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

func NewShmSpan

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

func (*Span) Alloc

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

func (*Span) Data

func (s *Span) Data() uintptr

func (*Span) Origin

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

Jump to

Keyboard shortcuts

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