1.5 <JSCVirtualMachine>

Class: <JSCVirtualMachine>

It derives from <GObject>.

JSCVirtualMachine represents a group of JSCContext<!– –>s. It allows concurrent JavaScript execution by creating a different instance of JSCVirtualMachine in each thread.

To create a group of JSCContext<!– –>s pass the same JSCVirtualMachine instance to every JSCContext constructor.

Procedures

Procedure: virtual-machine:new ⇒ %return

Create a new <JSCVirtualMachine>.

%return

Returned: a <JSCVirtualMachine>.

the newly created <JSCVirtualMachine>.