Not logged in

Threads are supported in Jsi, by creating an Interp with the option {subthread:true}.

var interp1 = new Interp({subthread:true});

Within an Interp, there can be only a one thread.

Threads can be used in conjunction with Events to multitask a single Jsi program.

For more details, see Interp.