inline fn getContext(context: *ThreadContext) bool
[src]
Capture the current context. The register values in the context will reflect the state after the platform getcontext
function returns.
It is valid to call this if the platform doesn’t have context capturing support, in that case false will be returned.