Share via


JsRuntimeHandle Typedef

A handle to a Chakra runtime.

Syntax

typedef void *JsRuntimeHandle;  

Remarks

Each Chakra runtime has its own independent execution engine, JIT compiler, and garbage collected heap. As such, each runtime is completely isolated from other runtimes.

Runtimes can be used on any thread, but only one thread can call into a runtime at any time.

Warning

A JsRuntimeHandle, unlike other object references in the Chakra hosting API, is not garbage collected since it contains the garbage collected heap itself. A runtime will continue to exist until JsDisposeRuntime is called.

Requirements

Header: jsrt.h

See Also

Reference (JavaScript Runtime)