Documentation
¶
Index ¶
- func DefaultEngine() *wavm.Engine
- func Now() int64
- type Loader
- type Reactor
- type Worker
- func (w *Worker) Call(fn *wavm.Func) error
- func (w *Worker) CallNoCopy(fn *wavm.Func) error
- func (w *Worker) CallNoCopyNoTrap(fn *wavm.Func) error
- func (w *Worker) CallNoTrap(fn *wavm.Func) error
- func (w *Worker) Close() error
- func (w *Worker) ResultF32(index int) float32
- func (w *Worker) ResultF64(index int) float64
- func (w *Worker) ResultI32(index int) int32
- func (w *Worker) ResultI64(index int) int64
- func (w *Worker) ResultV128(index int) wavm.V128T
- func (w *Worker) SetArgF32(index int, value float32)
- func (w *Worker) SetArgF64(index int, value float64)
- func (w *Worker) SetArgI32(index int, value int32)
- func (w *Worker) SetArgI64(index int, value int64)
- func (w *Worker) SetArgV128(index int, value wavm.V128T)
- func (w *Worker) Start() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultEngine ¶
Types ¶
type Reactor ¶
type Reactor struct {
// contains filtered or unexported fields
}
Reactor schedules workers to run
func NewReactor ¶
func NewReactor() *Reactor
Click to show internal directories.
Click to hide internal directories.