ring

package
v0.0.0-...-07bec6a Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const Mask = Size - 1
View Source
const Size = 256 // power of 2

Variables

View Source
var CrashIndex uint32 = 0xFFFFFFFF

Functions

This section is empty.

Types

type Entry

type Entry struct {
	Object uintptr    // gdextension.Object
	Method uintptr    // gdextension.MethodForClass
	Shape  uint64     // gdextension.Shape
	Args   [256]byte  // copied packed args
	Result [64]byte   // result slot (for future phases)
	Refs   [16]uint16 // intra-buffer references (for future phases)
	Owner  uintptr    // back-pointer for future result offloading
	PC     uintptr    // Go caller PC, captured at enqueue time
	// contains filtered or unexported fields
}

type Ring

type Ring struct {
	Entries [Size]Entry
	// contains filtered or unexported fields
}
var Main Ring

func (*Ring) Buffer

func (r *Ring) Buffer(object, method uintptr, shape uint64, args unsafe.Pointer, pc uintptr)

func (*Ring) Flush

func (r *Ring) Flush()

func (*Ring) Pending

func (r *Ring) Pending() bool

Jump to

Keyboard shortcuts

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