Documentation
¶
Overview ¶
Package thread exposes JVM-faithful java.lang.Thread equivalents for code running on glojure. Only the static methods whose semantics map cleanly onto Go's runtime are registered here; instance methods (start, join, interrupt, ...) would require a synthetic per-goroutine identity layer and are out of scope for now.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentThread ¶ added in v0.7.6
func CurrentThread() any
Types ¶
type Thread ¶
type Thread struct{}
Thread is a lightweight hosted representation of the current goroutine. Go does not expose a stable goroutine identity or JVM-shaped frames, but a concrete value with an empty stack preserves portable feature-detection and non-REPL control flow.