Obsolete since JSAPI 12
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

Lock the JS run-time environment.


void JS_Lock(JSRuntime *rt);
Name Type Description
rt JSRuntime * Pointer to the runtime to lock.


JS_Lock is a deprecated API; don't use it.

See also