wormhole

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: MIT, GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KV

type KV C.struct_kv

type QSBR

type QSBR C.struct_qsbr

func NewQSBR

func NewQSBR() *QSBR

func (*QSBR) Close

func (q *QSBR) Close() error

func (*QSBR) Park

func (q *QSBR) Park(ref *QSBRRef)

func (*QSBR) Register

func (q *QSBR) Register(ref *QSBRRef) bool

func (*QSBR) Resume

func (q *QSBR) Resume(ref *QSBRRef)

func (*QSBR) Unregister

func (q *QSBR) Unregister(ref *QSBRRef)

func (*QSBR) Update

func (q *QSBR) Update(ref *QSBRRef, v uint64)

func (*QSBR) Wait

func (q *QSBR) Wait(target uint64)

type QSBRRef

type QSBRRef C.struct_qsbr_ref

type Ref

type Ref C.struct_wormref

type Unsafe

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

func NewUnsafe

func NewUnsafe() Unsafe

func (Unsafe) Get

func (wh Unsafe) Get(key nogc.FatPointer) nogc.FatPointer

func (Unsafe) Put

func (wh Unsafe) Put(key, value nogc.FatPointer) bool

type WH

type WH C.struct_wormhole

type Wormhole

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

func NewWormhole

func NewWormhole() Wormhole

func (Wormhole) Delete

func (wh Wormhole) Delete(ref *Ref, key, value nogc.FatPointer) bool

func (Wormhole) Get

func (wh Wormhole) Get(ref *Ref, key, value nogc.FatPointer) bool

func (Wormhole) Put

func (wh Wormhole) Put(ref *Ref, key, value nogc.FatPointer) bool

func (Wormhole) Ref

func (wh Wormhole) Ref() *Ref

Jump to

Keyboard shortcuts

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