Entry: JS_ResumeRequest (Function)
Summary: Restarts a previously suspended thread.
Syntax:
void JS_ResumeRequest(JSContext *cx);
Description:
When your application restart a previously suspended thread, JS_BeginRequest safely increments the thread counter for the JS engine runtime associated with a given context, cx. In order to increment the counter, this function first checks that garbage collection is not in process. If it is, JS_ResumeRequest waits until garbage collection is complete before locking the JS engine runtime and incrementing the thread counter. After incrementing the counter, JS_ResumeRequest unlocks the runtime if it previously locked it.
See also:
|
|
|