fifo

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory struct {
	helpers.Methods
	// contains filtered or unexported fields
}

func New

func New(i vm.Instance, helper helpers.Methods) *Factory

func (*Factory) Close

func (f *Factory) Close() error

func (*Factory) Load

func (f *Factory) Load(hm vm.HostModule) (err error)

func (*Factory) Name

func (f *Factory) Name() string

func (*Factory) W_fifoClose

func (f *Factory) W_fifoClose(
	ctx context.Context,
	module vm.Module,
	id uint32,
)

func (*Factory) W_fifoIsCloser

func (f *Factory) W_fifoIsCloser(
	ctx context.Context,
	module vm.Module,
	id,
	isCloser uint32,
) errno.Error

func (*Factory) W_fifoNew

func (f *Factory) W_fifoNew(
	ctx context.Context,
	module vm.Module,
	readCloser uint32,
) (id uint32)

func (*Factory) W_fifoPop

func (f *Factory) W_fifoPop(
	ctx context.Context,
	module vm.Module,
	id,
	bufPtr uint32,
) errno.Error

func (*Factory) W_fifoPush

func (f *Factory) W_fifoPush(
	ctx context.Context,
	module vm.Module,
	id,
	buf uint32,
) (error errno.Error)

type Fifo

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

Jump to

Keyboard shortcuts

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